Sorry,
What I meant to type was "CDATA" (= Character data), not "PCDATA" (= Parsed
Character data). Within a CDATA section the markup characters such as '>' and
'<' are left unparsed.
-Panu
Panu Viljamaa wrote:
> Store the string inside a PCDATA section within your XML
> -Panu
>
> Frank wrote:
> > Does anyone have a method which escapes xml control characters from a
> > text string. I need to store some data in xml, but unfortunately it
> > contains < and > characters which are interpreted by the xml viewer as a
> > tag start/end.
> >
> > Regards,
> >
> > Frank