Oh, I think I may have found the answer... it seems I want the 'raw' serializer instead of the text one. That will output <, >, etc. without escaping it. I should be able to serialize the xml to string, double-quote the single quotes, and then write to file using 'raw'...
Kevin
On Mon, Sep 26, 2011 at 12:22 PM, Kevin S. Clarke ksclarke@gmail.com wrote:
On Mon, Sep 26, 2011 at 12:19 PM, Kevin S. Clarke ksclarke@gmail.com wrote:
I don't seem to be able to output the markup in either text or xml mode. What am I doing wrong?
Oops, that was incorrect... I can output the markup in xml mode, of course... I just can't double escape the quotes that way. I'd be good if I could output the xml using single quotes for the attributes <href='http://basex.org%27%3E but single quotes in my XQuery are output using double ones.
Kevin