Subject: Re: [xsl] testing for a missing attribute From: Dan Vint <dvint@xxxxxxxxx> Date: Sat, 10 Jul 2010 20:41:27 -0700 |
How about having:
<xsl:variable name="minOccurs" select="(@minOccurs,1)[1]"/> <xsl:variable name="maxOccurs" select="(@maxOccurs,1)[1]"/>
... and then changing your tests to variables instead of attributes? You won't need the tests for absence since the variable assignment has accommodated absence.
..dan --------------------------------------------------------------------------- Danny Vint
Panoramic Photography http://www.dvint.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] testing for a missing att, G. Ken Holman | Thread | Re: [xsl] testing for a missing att, G. Ken Holman |
Re: [xsl] testing for a missing att, G. Ken Holman | Date | Re: [xsl] testing for a missing att, Mukul Gandhi |
Month |