Re: XML to PDF problems...........

Subject: Re: XML to PDF problems...........
From: "James Tauber" <jtauber@xxxxxxxxxxx>
Date: Thu, 4 Feb 1999 23:28:44 +0800
>I'm trying to convert a XML document to PDF using the FOP by James Tauber,
>but it is imposible to me.

><fo:block xmlns:fo="http://www.w3.org/TR/WD-xsl/FO";>Este es el primer
>parrafo</fo:block>
><fo:block xmlns:fo="http://www.w3.org/TR/WD-xsl/FO";>Este es el segundo
>parrafo</fo:block>

There are problems with FOP, but importantly, the above is not well-formed
XML.
An XML document can only have a single element at the top-level (the
so-called document element).

Try wrapping the lot in a page-sequence fo.

James

A new version of FOP that does page breaks will be available RSN.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread