On Jan 14, 2005, at 12:04 PM, Luke Shannon wrote:
<snip>
The issue I am dealing with is sometime content inserted into the FO
document by the XSL contains HTML.

This is primarily an XSL question (or rather XSL solutions abound to help you resolve this). If you look on Dave Pawson's excellent XSL FAQ page[1], you might even find some xsl:template examples to get you going. Check out some of the XSL resources on the FOP Resources page[2] for more info.


That said, you'll probably want to create XSL templates for the attributes you care about, so you can use XSL to convert font-size, bold, list, etc. into their <fo:block @..> equivalents:

e.g., <b>text-content</b> => <fo:inline font-weight="bold">text-content</fo:inline>

[1]
http://www.dpawson.co.uk/xsl/sect3/index.html
[2]
http://xml.apache.org/fop/resources.html

Web Maestro Clay
--
<[EMAIL PROTECTED]> - <http://homepage.mac.com/webmaestro/>
My religion is simple. My religion is kindness.
- HH The 14th Dalai Lama of Tibet


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to