[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Condition Based Count of Sections
Abel Braaksma wrote:
J. S. Rawat wrote: Perhaps better to change your match clause, which does away the xsl:if. I.e., change: <xsl:template match="chapter[p] | sect1[p] | sect2[p] | sect3[p]"> into: <xsl:template match="chapter[p] | sect1[p] | sect2[p][../sect1/p] | sect3[p][../(sect1 | sect2)/p]"> If you stick to XSLT 1.0, you'll have to change the parenthesized expression into two expressions. -- AB
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|