serialize and parse extension functions
LJLeigh 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.
LJLeigh 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.
>
CGChristian 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" })
⚡Generated with XQuery