[MarkLogic Dev General] Preserving CDATA in Mark Logic
Vasu.Sakthikumar at simonandschuster.com
Tue Sep 2 08:18:33 PDT 2008
Thanks for the reply. I might need to store pre-formatted html in a
From: general-bounces at developer.marklogic.com
[mailto:general-bounces at developer.marklogic.com] On Behalf Of Norman
Sent: Tuesday, September 02, 2008 11:14 AM
To: General Mark Logic Developer Discussion
Subject: Re: [MarkLogic Dev General] Preserving CDATA in Mark Logic
"Sakthikumar, Vasu" <Vasu.Sakthikumar at simonandschuster.com> writes:
> I tried inserting an XML document with CDATA, but the CDATA is not
> Here's the query I ran.
> xdmp:document-insert('/TEST.XML', <a><![CDATA[test_cdata]]></a>)
> How do I preserve CDATA in the XML?
What's your motivation for preserving the CDATA markers? A CDATA section
is really just an escaping mechanism in the serialization.
Be seeing you,
Mark Logic Corporation
General mailing list
General at developer.marklogic.com
More information about the General