|
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: backtracking and trying to find, Wendell Piez | Thread | Merging XML documents containing fo, Manoranjan Das |
| Re: do I have better option other t, David Carlisle | Date | RE: Q.) Encode URL inside HTML Anch, Kay Michael |
| Month |