[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: creating a xslfo using xslt and a xml file
On Fri, Feb 23 2007 17:53:12 +0000, Helen McArthur wrote: > i have a xml file which i need to transform to xslfo > > i have created a java class to convert it but it doesnt convert > correctly, when it converts the file the fo tags are completly removed > which isnt what i want can anyone tell me what im doing wrong One thing to do is to get the transformation working using the command-line versions of the tools before entrusting it to compiled code. You would then find the immediate cause of your problems: ... > <fo:flow flow-name="xsl-region-body"> > <xsl:template match='/' mode='ffp'> > </xsl:template> > </fo:flow> <xsl:template> is not allowed at this point. It seems likely that you would want to instead use: <xsl:apply-templates select='/' mode='ffp'/> Regards, Tony Graham. ====================================================================== Tony Graham mailto:Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx Menteith Consulting Ltd http://www.menteithconsulting.com 13 Kelly's Bay Beach Skerries, Co. Dublin, Ireland ======================================================================
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|