serialize and parse extension functions
Thursday, 15 September 2011 · 3 messages
LJ
Leigh L. Klotz Jr15 Sep 2011 08:26 #
Does BaseX support serialize and parse XPath 2.0 extension functions, for parsing text content as XML and serializing to string? I didn't see them in http://docs.basex.org/wiki/Utility_Functions
Leigh.
LJ
Leigh L. Klotz Jr15 Sep 2011 09:02 #
Quoted text · Leigh L. Klotz Jr · 7 lines
On 09/14/2011 09:26 PM, Leigh L. Klotz Jr wrote: > Does BaseX support serialize and parse XPath 2.0 extension functions, > for parsing text content as XML and serializing to string? I didn't > see them in http://docs.basex.org/wiki/Utility_Functions > > Leigh. >
And here's the answer: http://docs.basex.org/wiki/XQuery_3.0
CG
Christian Grün15 Sep 2011 09:19 #
Quoted text · Leigh L. Klotz Jr · 1 line
> And here's the answer: http://docs.basex.org/wiki/XQuery_3.0
..dito ;) Btw, you can also use our map syntax in the
fn:serialize() function; see e.g.: declare option output:format "no";
fn:serialize(<html/>, map { "method" := "html" })Christian
Written for BaseX 6.7. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery