[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Apply templates question

Subject: RE: [xsl] Apply templates question
From: waldron.Navix@xxxxxxxxxxx
Date: Wed, 14 May 2003 14:19:28 +0900
ctd templates
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.