Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: How to insert CDATA section using XPathNavigator ? [Thread Next] Re: How to insert CDATA section using XPathNavigator ?To: NULL Date: 6/1/2006 6:03:00 PM
Hi Eric,
No need to cross-post this thread. Let's finish the discussion on
microsoft.public.dotnet.xml.
Ion
"ericms" <ericms@d...> wrote in message
news:C367BD35-41DB-4E97-9D34-99AB2294CE41@m......
> Here we go again, in notepad, I see the "<" and ">" that replace the "<"
> and
> ">" signs.
>
>
> "ericms" wrote:
>
>> Somehow, when I paste it here, it looks ok, but actually it looks like
>> the
>> following in Notepad:
>>
>> <DocumentData><![CDATA[Mzc4MDY4Nz....]]></DocumentData>
>>
>>
>>
>> "ericms" wrote:
>>
>> > I tried that and it did not work. Here is what I did:
>> >
>> > using (XmlWriter writer = nav.AppendChild())
>> > {
>> > writer.WriteCData("<![CDATA[" + dataString + "]]>");
>> > }
>> >
>> > and here is what I got:
>> >
>> > <DocumentData><![CDATA[Mzc4MDY4Nz....]]></DocumentData>
>> >
>> >
>> >
>> > "Greg Collins [Microsoft MVP]" wrote:
>> >
>> > > Don't know - but wondering if you can add the CDATA tags as part of
>> > > the data string content and have it work.
>> > >
>> > > --
>> > > Greg Collins [Microsoft MVP]
>> > > Visit Brain Trove ( http://www.BrainTrove.com )
>> > >
>> > >
>> > >
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
