Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: this element or the other element? [Thread Next] Re: this element or the other element?To: NULL Date: 3/1/2007 10:48:00 AM On Tue, 27 Feb 2007 14:10:39 +0100, Martin Honnen <mahotrash@y...> wrote: > <xsl:choose> > <xsl:when test="LocalName[@langid = $country]"> > <td><xsl:value-of select="LocalName[@langid = $country]"/></td> > </xsl:when> > <xsl:when test="count(LocalName[not(@langid)]) = 1"> > <td><xsl:value-of select="LocalName[not(@langid)]"/></td> > <xsl:when> > </xsl:choose> I ended up with <td><xsl:value-of select="LocalName[@langid=$country or not(@langid)]/></td> Thanks for the help! -- eliasen, representing himself and not the company he works for. Private blog: http://blog.eliasen.dk Private email: jan@e... | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
