Subject: RE: [xsl] XSL/XPath expression From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Wed, 16 May 2001 16:04:34 +0100 |
> I am not quite sure (because I am not an XSLT-Expert) > but maybe this is also a solution: > > <xsl:if test="@Type[string(.)='2'][position()=1]"> No, it isn't. That will match the first @Type attribute of the context node whose value is "2". Of course there can be at most one such attribute, so the position() test is nonsense. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
AW: [xsl] XSL/XPath expression, Mengel Andre (FV/SLM | Thread | Re: AW: [xsl] XSL/XPath expression, Oliver Becker |
Re: [xsl] RE: XML parser for use on, Daniel Veillard | Date | [xsl] character transformation, pos, Julie Mc Cabe |
Month |