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 ? Re: How to insert CDATA section using XPathNavigator ?To: NULL Date: 6/1/2006 4:50:00 PM
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 | |||
|
