Re: [xsl] Function json-to-xml and implementations in ECMAScript and Python

Subject: Re: [xsl] Function json-to-xml and implementations in ECMAScript and Python
From: "Schimon Jehudah sch@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Nov 2025 13:52:40 -0000
I was not aware of it.

Thank you for the kind reference.

Best,
Schimon

On Wed, 26 Nov 2025 12:57:41 -0000
"Michael Kay michaelkay90@xxxxxxxxx"
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> You may be aware that there's a collection of test cases at
>
> https://github.com/qt4cg/qt4tests/blob/master/fn/json-to-xml.xml
>
> Michael Kay
> Saxonica
>
> > On 26 Nov 2025, at 12:46, Schimon Jehudah sch@xxxxxxxxxxxx
> > <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > I have modified a Python script of Mr. Max Base.
> >
> >
https://git.xmpp-it.net/sch/Focus/commit/5c3fdf9dfd4ee0c8c3ded9138240e88ea470
bb82
> >
> > This script converts JSON to XML in a similar fashion to XPath 3.1
> > function json-to-xml, in order to enable processing of JSON data
> > with XSLT 1.0 and XSLT 2.0.
> >
> > I sense, that there should be a few more features to add.
> >
> > Kind regards,
> > Schimon
> >
> > On Wed, 26 Nov 2025 06:22:29 -0000
> > "Schimon Jehudah sch@xxxxxxxxxxxx"
> > <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> >> On Tue, 25 Nov 2025 23:31:01 -0000
> >> "Martin Honnen martin.honnen@xxxxxx"
> >> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> >>
> >>> On 26/11/2025 00:27, Schimon Jehudah sch@xxxxxxxxxxxx wrote:
> >>>>
> >>>> I would appreciate to receive complete information about XSLT 3.0
> >>>> function "json-to-xml".
> >>>>
> >>>> I intend to create ECMAScript and Python scripts to do that task,
> >>>> preferably in the most compliance fashion.
> >>>>
> >>>> I did try that function with SaxonJS, yet I would rather read
> >>>> documentation in order to be certain that I do not skip
> >>>> esssential information.
> >>>>
> >>>> Please advise.
> >>>>
> >>>
> >>> It is defined for XPath 3.1 in
> >>> https://www.w3.org/TR/xpath-functions-31/#func-json-to-xml.
> >>>
> >>
> >> Good day.
> >>
> >> Thank you. Martin.
> >>
> >> With regards,
> >> Schimon
> >>
> >>
> >
> >
>
> o?<

Current Thread