Thanks Chris, I should have mentioned that I am trying to avoid SAXON at the 
moment because I need to make use of Java Extensions which are only available 
on the Professional edition which costs £50 per machine.

If adapting FOP to detect Fonts on a character by character basis is not 
advisable then I will look into your suggestion of recursive templates on the 
text() nodes or if that slows things down too far I will just have to move onto 
SAXON.

Graeme


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 02/03/2011 02:38 PM, Graeme Kidd wrote:
> > The only problem is that I can’t easily place an inline element round
> > characters since XALAN only supports XSLT 1.0 and character maps are
> > only available in version 2.0.
>
> This can be done in XSLT 1.0 using recursive templates on the text()
> nodes. I have done it, but it slows processing down considerably.
> (Follow-ups on that are best sent to xsl-list, as they are not FOP
> specific.)
>
> Do keep in mind, though, that FOP can be used as part of a two-stage
> process; you could use Saxon to convert your XML to FO, then run FOP on
> the FO. You probably could even specify Saxon as the transformer in
> preference to Xalan, but I haven’t tried that lately.
>
> ~Chris
> - --
> Chris Maden, text nerd 
> “For a successful technology, reality must take precedence over
> public relations, for Nature cannot be fooled.” — R.P. Feynman
> GnuPG Fingerprint: C6E4 E2A9 C9F8 71AC 9724 CAA3 19F8 6677 0077 C319
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk1LCYkACgkQGfhmdwB3wxlb6gCghZ40tJduqJtnuPCJ86/jFEP0
> RLkAn2cDZ7LgGH5I2MwrGZ+vgOlogKKX
> =Yi8g
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
                                          
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to