Page 1 of 1

How to convert xml to jdf using xslt or other apps?

Posted: Fri Aug 26, 2022 4:02 am
by tomchen506@gmail.com
I try to use jdf file to print automatically in Fiery command workstation. So I need to convert xml to jdf in Switch and how to do it using xslt or other Apps? :D

Re: How to convert xml to jdf using xslt or other apps?

Posted: Fri Aug 26, 2022 8:55 am
by freddyp
There are currently no apps for sending a JDF to a Fiery. I am practically certain that there are people that have written a script to do that. I suggest you send a request for an app to connect to the Fiery here https://www.enfocus.com/en/appstore/appmatch.

If you have a template JDF and it is not too complex and you can map the info in the input XML one on one to the info in the JDF, then creating an XSL is a feasible approach.

Re: How to convert xml to jdf using xslt or other apps?

Posted: Sat Aug 27, 2022 8:29 am
by tomchen506@gmail.com
Hi Freddy, Thanks your reply. Could you make an example how to map jdf template info in input xml using xsl?

Re: How to convert xml to jdf using xslt or other apps?

Posted: Wed Dec 21, 2022 7:30 am
by rohit361888
Hiii

If you import XSLTJSON in your stylesheet, you have to add the JSON namespace xmlns:json="http://json.org/" to your stylesheet because all positionsand templates are in that namespace. The json:generate() function takes a XML node as input, develops a JSON representation of that node and returns it as an xs:string . You can also try using XML2JDF if the conversion is not working.

Re: How to convert xml to jdf using xslt or other apps?

Posted: Wed May 31, 2023 9:48 am
by Sarasked1956
One way to convert XML to JDF using XSLT is to use an XSLT processor, such as Saxon, Xalan, or MSXML. These are software applications or libraries that can execute XSLT transformations on XML documents.

Re: How to convert xml to jdf using xslt or other apps?

Posted: Wed Jun 21, 2023 6:57 am
by cnsoke
You also need to use the JDF namespace and prefix in your stylesheet, which are defined as follows:

xmlns:jdf="http://www.CIP4.org/JDFSchema_1_1" trap the cat