Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: How to do conditional select expression? [Thread Next] Re: How to do conditional select expression?To: NULL Date: 4/9/2007 5:22:00 PM >You need to code that as e.g. > <xsl:choose> > <xsl:when test="@Size"> > <xsl:apply-templates select="Fitem[@Size > 10000]"/> > </xsl:when> > <xsl:otherwise> > <xsl:apply-templates select="Fitem"/> > </xsl:otherwise> > </xsl:choose> That's where I started from :( I was hoping not to have to repeat the whole apply-templates section - it's not a trivial 1-liner - there's a whole chunk of repeated code to maintain :( Dave | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
