Page 1 of 1

List in PDF from XML array

Posted: Mon Sep 17, 2018 3:27 pm
by bahlqvist
Hi

I am looking for a way to create a list in a PDF based on information in a xml array, does anyone know in what direction I should start looking?

What I am trying to do is basically this: I will receive a xml file with an array that holds a bunch of information about a print job, for example quantity, print format, type, article ID and so on. There is one xml file for each order, but every order may include several rows (jobs). I want to list these rows in a PDF. It does not have to be fancy. :)

<Rows>
<Row>
<ArticleNo>666777</ArticleNo>
<Quantity>20</Quantity>
<AssetId>565</AssetId>
<PrintFormat>A4</PrintFormat>
<Color>CMYK</Color>
</Row>
<Row>
<ArticleNo>666779</ArticleNo>
<Quantity>20</Quantity>
<AssetId>1020</AssetId>
<PrintFormat>A3+</PrintFormat>
<Color>BW</Color>
</Row>
</Rows>


What is the best way to approach this, any ideas? I have access to Switch with metadata module and Pitstop Server, would that be enough or is scripting needed? Thanks!

Re: List in PDF from XML array

Posted: Mon Sep 17, 2018 3:34 pm
by jan_suhr
You can use the Saxon configurator and an XSLT that translate your XML to what you want.