Hello everyone,
I have an XML file and I want to convert it to HTML so I can print it. I want to do this using XSLT and the Saxonica Saxon app.
However, I’m not getting any HTML or XHTML output. Am I doing something wrong, or is this not possible?
Kind regards,
Emile
XML to (x)HTML with Borgen Saxonica Saxon
-
- Newbie
- Posts: 1
- Joined: Sat Mar 22, 2025 5:12 pm
- JimmyHartington
- Advanced member
- Posts: 453
- Joined: Tue Mar 22, 2011 7:38 am
Re: XML to (x)HTML with Borgen Saxonica Saxon
Can you share how you are doing it now? How the Saxon app is setup?
Either a screenshot from Switch. Or document the flow and screenshot the Saxon settings there.
Either a screenshot from Switch. Or document the flow and screenshot the Saxon settings there.
Re: XML to (x)HTML with Borgen Saxonica Saxon
Or you could use Easy Data Transform instead, it's easier and you have an App for it in Switch.
https://www.easydatatransform.com/
https://www0.enfocus.com/en/appstore/pr ... sform-beta
https://www.easydatatransform.com/
https://www0.enfocus.com/en/appstore/pr ... sform-beta
- JimmyHartington
- Advanced member
- Posts: 453
- Joined: Tue Mar 22, 2011 7:38 am
Re: XML to (x)HTML with Borgen Saxonica Saxon
If your use case is not just to print the XML as a table, but if it contains order info, then I have had great success with using the app Create file from template https://www0.enfocus.com/en/appstore/pr ... m-template.
The input then has to be JSON, but XML can be converted to JSON. Also with Easy Data Transform.
The example below is a simple production sheet made from a JSON-file from a Shopify order. The output is HTML and in this case used to e-mail to an external supplier.

The input then has to be JSON, but XML can be converted to JSON. Also with Easy Data Transform.
The example below is a simple production sheet made from a JSON-file from a Shopify order. The output is HTML and in this case used to e-mail to an external supplier.