[xquery-talk] CDATA with computed constructors

Jonathan Robie jonathan.robie at redhat.com
Mon Feb 25 15:19:27 PST 2008

Hi Timothy,

XQuery does not know the difference between the various ways that a 
character can be serialized.

You want to control the way that the result of the query is serialized, 
and you have to consult your implementation's documentation to figure 
out how to do that.


timothymarc at freenet.de wrote:
> Hi all,
> I was trying to create a CDATA-section within an computed constructor. Therefore, i've read the relevant sections in the xquery spec, but I've found solution.
> Currently, all the < >-chars are decode to their html value &gt;, but that's not what i want them to be. Is there the possibility to create a CDATA section within an computed element constructor like
> element name{
> <!CDATA[xs:string('>')]]>
> }
> thx
> timothy
> ------------------------------------------------------------------------
> _______________________________________________
> talk at x-query.com
> http://x-query.com/mailman/listinfo/talk

More information about the talk mailing list