[Home] [By Thread] [By Date] [Recent Entries]
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
|

Cart



