Hi Chris, Thanks. I've been so pre-occupied with the XSL file, I never thought to look at the XML that I'm transforming.
It indeed has two printspecification tags. I'll see why I'm getting the two items there and if there is no reason for them being there, I'll have a new XML generated and test again. Many thanks again. Andries Burger Snr. C++ Unix Analyst Developer Digital Healthcare Switch (Pty) Ltd PO Box 7045, Halfway House, 1685 Tel: 011 265 5527 Fax: 011 265 5470 E-mail: [EMAIL PROTECTED] Web: www.switchonline.co.za This e-mail is subject to an e-mail disclaimer. To read our e-mail disclaimer notice go to: http://www.dhsolutions.co.za/disclaimer/email/ Alternatively please contact us on +27 11 265 5400 -----Original Message----- From: Chris Bowditch [mailto:[EMAIL PROTECTED] Sent: 26 November 2007 03:57 PM To: [email protected] Subject: Re: Problem generating PDF with FOP 0.94 Andries Burger wrote: <snip/> > a .fo file generated for the layout I want, except that I end up with > a double <fo:root> element in the FO file. <snip/> > <xsl:key name="htt" match="hospital_item" use="@tariff_type"/> > > <xsl:template match="printspecification"> > > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> Does your XML input contain 2 printspecification elements? I would guess that is the most likely reason you end up with 2 fo:root nodes in the FO file? <snip/> Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
