|
Subject: Re: [xsl] Display text and all the following nodes except <anchor> and <pb> From: "J. S. Rawat" <jrawat@xxxxxxxxxxxxxx> Date: Thu, 18 Sep 2008 14:29:50 +0530 |
<xsl:template match="div/head">
<xsl:choose>
<xsl:when test="../@type='ss1'">
<h2>
<xsl:apply-templates/>
</h2>
</xsl:choose>
</xsl:template>> Actually I want to make TOC of the chapter and I want anchor in one > place but not in another place that why George's solution does not > fit for me
making TOC is the motivating use case for modes. Use one mode for the main body and another mode for the toc.
David
________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Display text and all the , David Carlisle | Thread | Re: [xsl] Display text and all the , Wendell Piez |
| Re: [xsl] Display text and all the , Syd Bauman | Date | Re: [xsl] Fwd: text nodes, Lucas Lain |
| Month |