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(_dot_)Ross(_at_)iie(_dot_)qld(_dot_)gov(_dot_)au>@lists.mulberrytech.com
on 2003/05/14
10:04:05
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)comに返触焙阡潯してくえ焉扤扤気\xA4
送信者: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
宛\xA8焉扤扤: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
cc:
件名: RE: [xsl] 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(_dot_)Ross(_at_)iie(_dot_)qld(_dot_)gov(_dot_)au
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list