Subject: lang suggestion for XSLT1.1 was Re: [xsl] select lang attribute problem From: cutlass <cutlass@xxxxxxxxxxx> Date: Thu, 01 Mar 2001 10:53:16 +0000 |
I don't understand what you mean by 'solution at the top level of xsl'?
With your XML, you could use:
<xsl:template match="test"> <xsl:if test="not(@xml:lang) or @xml:lang = $lang"> <xsl:value-of select="." /> </xsl:if> </xsl:template>
<xsl:document href="test.html" method="html" lang="en"> </xsl:document>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XML-to-XML question, Jeni Tennison | Thread | [xsl] commercial sites using XSL, cutlass |
Re: [xsl] ANNOUNCE: Petition to wit, Eric van der Vlist | Date | Re: [xsl] [exsl] Draft 0.1 - call f, Francis Norton |
Month |