xquery - parse escaped HTML into node in xqilla -


i'm trying text rss 2.0 feed (description tag) using xqilla. address here. fine tag contains escaped html like

"<a href="some_address>..." 

it useful have html in node , further work it, @ loss here. can tag contents with

let $desc := $item/*[name()='description'] 

but not know how unescape it. tried parse-html, strips text of tags , returns string, data() function. searching on web suggests extension functions exist this, in other parsers. there way in xqilla? way, code working on jaws researchit lookup source.

xqilla has – lots of other xquery implementations – proprietary function load xml , html string (they don't have anchor tags, need scroll through document, i'm sorry).

xqilla:parse-xml($xml xs:string?) document-node()? xqilla:parse-html($html xs:string?) document-node()? 

given $desc contains unparsed html, xqilla:parse-html($desc) return parse result.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -