Examples

To run the xml2afp transform through InfoPrint Manager, the stylesheet must be specified with a full path, so that the InfoPrint Manager server can find it when the transform is run. Specifically, if the path has spaces in it, there must be quotes around it, and backslashes must be either escaped with another backslash, or you can use forward slashes. This only applies to the stylesheet, not the xml file. For example:

pdpr -p ld -x document-format=xml
 -x "xsl-style-sheet='file:c:/Program Files/InfoPrint Manager
/xmltransform/test.xsl'" test.xml

When you run xml2afp, you can use either relative paths or absolute paths.

Using a relative path, enter:

xml2afp -o output.afp -s test.xsl test.xml

Using an absolute path, enter:

xml2afp -o output.afp -s c:\xslfiles\test.xsl c:\xmlfiles\test.xml