[xquery-talk] Outputting CDATA Sections
Martin Probst
martin at x-hive.com
Tue Jul 12 19:55:29 PDT 2005
Hi,
> <svg>
> <defs>
> <style type="text/css">
> <![CDATA[
> rect {stroke:black;}
> circle {stroke-width:1;}
> ]]>
> </style>
> </defs>
> </svg>
you can also write exactly what you wrote, it's a valid XQuery
expression as far as I can see. X-Hive/DB also preserves the CDATA
section nature of your text content.
If you (somehow) have to escape curly braces in element content you will
have to write {"{"}.
Regards
Martin
More information about the talk
mailing list