Skip to content
Advertisement

Tag: xslt

XSLT: add element, read content from file

I ran into a complicated XSLT question. Input.xml Here I want to add a new element <DESCRIPTION>. The tricky part: the content are in separate files, the file name of the description file is the : (00050802.html,00033802.html === <ID>.html). The .html contains some html code, so the content should be enclosed in CDATA. Output.xml XSLT version does not matter. Answer

XML to postscript using xsltproc

I’m trying to produce a postscript file for an XML document. I can produce a plain text or an html output using xsltproc. Is there a way to produce a postscript file from command line or programmatically using C? Answer One possibility to achieve this is converting the XML-file to XSL-FO and then use Apache-FOP to transform it to a

Advertisement