Re: [xep-support] FO output

From: Eliot Kimber <>
Date: Tue Oct 04 2005 - 12:30:40 PDT

Bob Cirilli wrote:
> We did put the FO content into a CDATA section, but we didn't want those
> FO elements as real elements in the XML document because we did not want
> to have to specify all of the necessary rules to handle them. Instead
> we wanted these elements to pass through to the rendering phase as FO
> where they could be handled directly (and correclty) by the XEP engine.

All that you should need to do is just do an xsl:copy-of to the output
of any FO element, e.g.:

<xsl:template match="myFoWrapperelement">
   <xsl:copy-of select="*"/><!-- copy all element children of context
node -->

This should give you the same effect as echoing out the content of the
CDATA marked sections. This would also eliminate the need for an
intermediate FO instance.



W. Eliot Kimber
Professional Services
Innodata Isogen
9390 Research Blvd, #410
Austin, TX 78759
(512) 372-8841
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Tue Oct 4 12:55:52 2005

This archive was generated by hypermail 2.1.8 : Tue Oct 04 2005 - 12:55:53 PDT