#1
|
|||
|
|||
Write XML issue with namespace???
Hi,
I have an ASP.NEt Web.config file that I'm trying to update - in my case sessionState - the file looks like: <?xml version="1.0"?> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <system.web> <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="22"/> </system.web> </configuration> the writexml step fails when the xmlns=... attribute present on the configuration element - if I remove that xmlns attribute, it works fine - I tried to add Namespace alias to namespace URI mappings but it doesn't like xmlns as an alias. any way to do this update without removing the namespace? Thanks Dave |
Thread Tools | |
Display Modes | Rate This Thread |
|
|