Subject: [xsl] Only child test From: Karl Stubsjoen <kstubs@xxxxxxxxx> Date: Wed, 9 Oct 2013 21:38:58 -0700 |
Just curious how other's might approach a test to determine if the current node is *not* an only child. This works fine but it feels a little heavy to me. Thoughts? <xsl:if test="(count(preceding-sibling::*) + count(following-sibling::*)) > 1"> <hr/> </xsl:if>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Test character immediatel, Nathan Tallman | Thread | Re: [xsl] Only child test, G. Ken Holman |
[xsl] Re: Test character immediatel, Nathan Tallman | Date | Re: [xsl] Only child test, G. Ken Holman |
Month |