On Thursday 31 October 2002 01:14 pm, Pierre Leblanc wrote: > Now I need to transform those XML documents in PDF. Also, I need to join 2 > or more XML doc to form 1 PDF. I don't know where to start from there.
To convert XML to PDF, start with the XSL Formatting Objects (XSL-FO) language and tools. FO is a layout language that usually gets converted directly into another format, like PDF. The FO language itself is way too verbose to edit directly, so you're expected to use XSLT to generate it, then pass it to a renderer. There's a FO renderer called "FOP" that's part of theApache project: http://xml.apache.org/fop/ It supports PDF and a few others, like SVG, PCL and PostScript. The stages of conversion to turn an XML file into a PDF would be: XML -> FO (via XSLT), then FO -> PDF (via FOP or some other renderer) To combine two XML documents, you might also do that in the same XSLT stylesheet, using the document() function. Regards, Chris Wenham http://www.disenchanted.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
