Subject: Re: unescape html from xquery
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 13 Apr 2011 09:27:26 +0100
|
On 13 April 2011 09:07, Robby Pelssers <robby.pelssers@xxxxxxxxx> wrote:
> Hi all,
>
> I have a problem where in my xquery following variable contains escaped html
content. Is there a way that Sedna allows to disable output escaping for a
specific tag?
>
> let $symbol := $det/ConditionSpecification/HTML/text()
>
> The output I am currently seeing in browser output is U<sub>dc</sub>
instead of Udc
This is a list about XSLT - your question is about XQuery and Sedna :)
try the "xquery talk" list:
http://x-query.com/mailman/listinfo/talk
...or google whatever extension function Sedna has for parsing,
possibly along with a tidy function if its really is html.
--
Andrew Welch
http://andrewjwelch.com
|