Subject: RE: [xsl] Apply templates question From: waldron.Navix@xxxxxxxxxxx Date: Wed, 14 May 2003 14:19:28 +0900 |
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: [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.Ross@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Apply templates question, Ross Ken | Thread | RE: [xsl] Passing inputs to an XSLT, Sundar Shanmugasunda |
RE: [xsl] Request and Submit within, Edward . Middleton | Date | RE: [xsl] Passing inputs to an XSLT, Sundar Shanmugasunda |
Month |