This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: speedy XSLT processor for win
- From: Gabor Hojtsy <gabor at hojtsy dot hu>
- To: Adrian Daley <agd at sgi dot com>
- Cc: Bob Stayton <bobs at caldera dot com>,DocBook list <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 31 Jul 2002 10:08:10 +0200
- Subject: Re: DOCBOOK-APPS: speedy XSLT processor for win
- References: <Pine.SGI.4.05.10207301707560.1620-100000@sven.americas.sgi.com>
OK, some of these may work in some cases, but as far as the PHP
documentation goes, we need to have files named after IDs, because
all other components of our systems and PHP IDEs are expecting file
names to be in that form. Other parts like header and footer may
be speeded up, if the titles are not required, or so, but it's not
a too significant speedup as I see it...
Goba
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>
> <!-- change as needed -->
> <xsl:import href="xslt/docbook-xsl/html/chunk.xsl"/>
>
> <xsl:param name="chunk.section.depth" select="1"/>
>
> <xsl:template name="html.head"/>
> <xsl:template name="user.header.navigation"/>
> <xsl:template name="header.navigation"/>
> <xsl:template name="user.header.content"/>
> <xsl:template name="user.footer.content"/>
> <xsl:template name="footer.navigation"/>
> <xsl:template name="user.footer.navigation"/>
>
> <xsl:template match="*" mode="chunk-filename">
> <xsl:value-of select="generate-id(.)"/>
> <xsl:text>.html</xsl:text>
> </xsl:template>
>
> </xsl:stylesheet>
>
>