Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems writing XML
Message
From
05/11/2004 05:17:50
Bill Benton
North Florida Software Services
Middleburg, Florida, United States
 
 
General information
Forum:
ASP.NET
Category:
XML
Miscellaneous
Thread ID:
00958201
Message ID:
00958421
Views:
20
Viv,

I'm sorry - That did indeed work. I mistakenly used WriteElementString instead of
WriteAttributeString.

Thanks a bunch for your assistance.


>Hi,
>
>>>
>I am attempting to write the following to an XML file:
>credit_type type="joint"
>with the WriteElementString() method. It keeps writing the following:
>credit_type="joint"
>I am having difficulty trying to get the other "type" element into the document.
>>>
>Could try something like instead:
>
>w.WriteStartElement("credit_type")
>w.WriteAttributeString("type", "joint")
>'Add element content etc.
>w.WriteEndElement()
>
>HTH,
>Viv
Bill Benton
Senior Systems Analyst
Nuvell Financial Services
Previous
Reply
Map
View

Click here to load this message in the networking platform