RE: do I have better option other than mode

Subject: RE: do I have better option other than mode
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 20 Nov 2000 11:54:58 -0000
> I working on a stylesheet covering over 170 elements. Many 
> elements have an "id" attribute.
> 

The answer to this one might be xsl:apply-imports.

Define the standard behavior for each element in one stylesheet module.
Import this into another module that does

<xsl:import href="standard-templates.xsl"/>

<xsl:template match="*[@id]">
<a name="{@id}"/>
<xsl:apply-imports/>
</xsl:template>

Mike Kay

 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread