Subject: [xsl] <xsl:test=""> From: Phillip Nicolson <pjn3@xxxxxxxxxxxxx> Date: 16 Sep 2004 10:58:00 +0100 |
I have a stylesheet containing a number of <xsl:test> statements. Rather than having: <xsl:if test="name() = 'forObj'">...........call template <xsl:if test="name() = 'flow'">............call template <xsl:if test="name() = 'step'">............call template ....etc all of which call the same template is it possible to test if name() = forObj OR flow OR step etc in one statement? Many thanks for suggestions -- Phillip Nicolson Department of Physics & Astronomy Phone: (0)116 2523581 University of Leicester Email: pjn3@xxxxxxxxxxxxx Leicester LE1 7RH Web: http://www.astrogrid.org
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Exclude elements in trans, cking | Thread | RE: [xsl] <xsl:test="">, Michael Kay |
RE: [xsl] Exclude elements in trans, Andrew Welch | Date | RE: [xsl] Exclude elements in trans, Sonke Ruempler |
Month |