On Tue, 2004-03-30 at 14:11, Richard Evans wrote: > I want to implement an application which can use XSL-FO templates which are > converted to PDFs with the help of some external code. > > The templates will contain application elements which the helper code will > map to XSL-FO at conversion time. Something like: > > <fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format > xmlns:svg="http://www.w3.org/2000/svg"> > ... > <fo:block>This is text <special:item name="value2"/> and this is > too</fo:block> > > Here the tags in the 'special' namespace are processed by the helper code. > > The template will be used repeatedly so I'd like to parse it just once.
Have you looked at Cocoon ? http://xml.apache.org/cocoon/ > I can't see any clean way of doing this. You'd produce your input file in an XML format, pass it through any required XSLT transformations and feed the result to the FOP serializer. > Richard > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- John Austin <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
