Hi Ken,
Thanks! I got that to work. But... (there's always a "but").
I've lost my styles for the children of the toc container element, however all
of the grandchildren retained their styles. I'm tinkering with it, trying to
figure it out. Any idea why?
Cheers,
Dee
"Ross Ken" <Ken.Ross@xxxxxxxxxxxxxx>@lists.mulberrytech.com on 2003/05/14
10:04:05
xsl-list@xxxxxxxxxxxxxxxxxxxxxxに返信してください
送信者: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
宛先: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
cc:
件名: RE: Apply templates question
Try using modes, eg
<xsl:template match="toc/*" mode="toc">
...whatever...
</xsl:template>
<xsl:template match="toc/*" />
Then use <xsl:apply-templates select="//toc/*" mode="toc" /> for your table of
contents and <xsl:apply-templates select="*" /> for the body.
HTH,
Ken Ross
Ph: +61 7 32359370
Mob: +61 (0)419 772299
Email: Ken.Ross@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|