c - XML to postscript using xsltproc -


i'm trying produce postscript file xml document. can produce plain text or html output using xsltproc.

xsltproc --output output.txt xslfile.xsl input.xml 

is there way produce postscript file command line or programmatically using c?

one possibility achieve converting xml-file xsl-fo , use apache-fop transform postscript-file with

fop -xml input.xml -xsl xml2fo.xsl -ps output.ps 

at moment couldn't find simple xsl-file on net task, depends on output anyway. creating basic xslt transformation should not hard.

edit: completeness: possible output-formats of apache-fop are

-pdf outfile      input rendered pdf (outfile req'd) -pdfa1b outfile   input rendered pdf/a-1b compliant pdf                     (outfile req'd, same "-pdf outfile -pdfprofile pdf/a-1b") -awt              input displayed on screen  -rtf outfile      input rendered rtf (outfile req'd) -pcl outfile      input rendered pcl (outfile req'd)  -ps outfile       input rendered postscript (outfile req'd)  -afp outfile      input rendered afp (outfile req'd) -tiff outfile     input rendered tiff (outfile req'd) -png outfile      input rendered png (outfile req'd) -txt outfile      input rendered plain text (outfile req'd)  

Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -