[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSL/XPath expression
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|