Geir Magnusson Jr wrote:
the left side nav comes from an xml file in xdocs/stylesheets.
OK. I had thought of another way to handle it that is perhaps better, performance-wise. You could have another XSL that is import'ed or include'd that has a named template that contains the nav. When using something like ant to transform, the Templates object would be cached so the nav wouldn't need to be reparsed for each transform:
<xsl:template name="left-nav"> <!-- nav (X)HTML --> </xsl:template> >> <div class="menusection"> >> <span class="menuheader">Velocity</span> >> >> <!-- copy in the nav >> <xsl:apply-templates select="document('nav.xml')"/> --> <xsl:call-template name="left-nav"/> >> >> </div> >> >> <!-- fill in body content --> >> <xsl:apply-templates select="document/body"/> >> This should have been: <xsl:apply-templates select="document/body/*"/> so it does not copy the body element. best, -Rob --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]