[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: Re: Outfoxing fo-patch-for-fop.xsl
/ Matthew Braun <mbraun@urbana.css.mot.com> was heard to say: | To work around this, I added the "Fop extensions" namespace to the top of | fo-patch-for-fop.xsl like so: | | <?xml version="1.0"?> | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | xmlns:fo="http://www.w3.org/1999/XSL/Format" | xmlns:fox="http://xml.apache.org/fop/extensions" | version="1.0"> | | I'm not sure if it's the right thing to do (fop produced the same output | either way, since my article's not actually producing any thumbnails). | However, if it should be fixed in some other fashion, I'll take | suggestions. :-) Yes, I think that's the right thing to do. The problem arises because the patch matches on '*' and then uses the name() function (which returns fox:localName). So the fox prefix has to be bound. I should probably experiment with <xsl:element name="{local-name(.)}" namespace="{namespace-uri(.)}"> ... instead of name="{name(.)}". Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | There is nothing which human http://www.oasis-open.org/docbook/ | courage will not undertake, and Chair, DocBook Technical Committee | little that human patience will | not endure.--Dr. Johnson
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC