Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-01-2008, 12:04 PM
stienessen stienessen is online now
Registered User
 
Join Date: 02-19-2007
Posts: 5
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
Reply With Quote
  #2  
Old 08-01-2008, 12:14 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
See attached sample.
Attached Files
File Type: bld writexml.bld (1.7 KB, 1460 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 08:28 PM.


Copyright © 1999-2023 Kinook Software, Inc.