Re: XML
From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 10/18/04
- Next message: Bob Grommes: "Re: Getting values from DateTime"
- Previous message: John Smith: "Re: MS Word Document Creation"
- In reply to: Tony: "Re: XML"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 18 Oct 2004 15:49:58 -0400
Tony,
I don't understand what you mean. The example that you gave:
<abc>abc</abc>
Doesn't conflict with the data at all. It's just that the text in the
tag happens to be the same as the name of the tag. Any XML parser/generator
worth it's salt isn't going to get hung up on that. The
XmlWriter/XmlTextWriter certainly doesn't.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
"Tony" <Tony@discussions.microsoft.com> wrote in message
news:E7CD6188-1C1F-4DB7-9B67-2CB3457CEC56@microsoft.com...
> How do these classes cope with me creating tags that clash with the data -
> for instance is there a problem if I create code
>
> <abc>abc</abc>
>
> Thanks
>
>
>
> "Nicholas Paldino [.NET/C# MVP]" wrote:
>
>> Tony,
>>
>> Check out the classes in the System.Xml namespace, specifically the
>> XmlWriter and the XmlTextWriter classes, as they will help you construct
>> XML
>> output, which you can then store to a string, which can then be placed in
>> a
>> database.
>>
>> Hope this helps.
>>
>>
>> --
>> - Nicholas Paldino [.NET/C# MVP]
>> - mvp@spam.guard.caspershouse.com
>>
>> "Tony" <Tony@discussions.microsoft.com> wrote in message
>> news:5871D78D-A11E-44F6-A3C2-1DBE40806D9B@microsoft.com...
>> >I want to store some data in a field in a database as XML - is there any
>> > classes in .NET that allow me to pass data and tags to build up a
>> > string
>> > of
>> > XML?
>> >
>>
>>
>>
- Next message: Bob Grommes: "Re: Getting values from DateTime"
- Previous message: John Smith: "Re: MS Word Document Creation"
- In reply to: Tony: "Re: XML"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|