[oXygen-user] help with oxygen 9.2

Sorin Ristache
Thu May 29 04:42:24 CDT 2008


I think your DocBook customization stylesheet does not work anymore 
because version 9.2 comes with the namespace aware version of the 
DocBook XSL stylesheets. We announced that in the email notification 
that was sent to all the Oxygen customers and also on the Oxygen website 
in the list of new features for this version.

Specifically you have to match on element names from the DocBook XSL 

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"


     <xsl:variable name="root.elements"
         select="' db:systemfeature db:scenario db:appendix db:article
         db:bibliography db:book db:systemfeature db:colophon
         db:dedication db:glossary db:index db:part db:preface
         db:qandaset db:refentry db:reference db:sect1 db:systemfeature
         db:set db:setindex '"/>

     <xsl:template match="db:systemfeature">


Juan York wrote:
> I've recently upgraded from Oxygen 9.1 to Oxygen 9.2
> Performing this upgrade seems to have broken my xslt transformations.
> I have a project which is an extension of docbook 5.0
> the custom xslt style sheet that I created imports the docbook.xsl which 
> is located in frameworks.
> In 9.1 everything worked as expected.
> The basic layout was
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>     xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
>     <xsl:import 
> href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
>     <xsl:variable name="root.elements"
>         select="' systemfeature scenario appendix article bibliography 
> book systemfeature colophon dedication glossary index part preface 
> qandaset refentry reference sect1 systemfeature set setindex '"/>
>     <xsl:template match="systemfeature">
>         <xsl:apply-templates/>
>     </xsl:template>
> </xsl:stylesheet>
> And the stylesheet would match the systemfeature element and apply the 
> proper templates to any docbook tags contained within it.
> Within 9.2 the import statement seems to "stop" the process, I cannot 
> match any elements after I have imported.
> If there's anyone who can help with this issue it would be much appreciated.
> thanks
> Juan

More information about the oXygen-user mailing list