[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: equal signs in XML attribute values

Subject: Re: equal signs in XML attribute values
From: "Kent Fitch" <kent.fitch@xxxxxxxxxxxx>
Date: Wed, 2 Dec 1998 11:00:39 +1100
xslpattern reference
From: Freed, Erik <freed@xxxxxxxxxxxxxxxxxx> wrote:


>This may have a really obvious answer, but I am trying to put the
>following into an XSL stylesheet in IE5b2:
>
> 
> <xsl:apply-templates select="bar">
> <xsl:template match="@foo=3" />
> </xsl:apply-templates>
>
>IE5b2 graciously spits back the following message:
>
> Expected token 'eof' found '='. @foo-->=<--3


Maybe:
  [@foo = '3']

eg:
  //bar[@foo = '3']

should match 'bar' elements under the current root
which have an attribute of 'foo' equal to '3'

see this URL (split over 2 lines...):

http://www.microsoft.com/workshop/xml/xsl/reference/
XSLPattern-MatchingSyntax.asp 

Kent Fitch                           Ph: +61 2 6276 6711
ITS  CSIRO  Canberra  Australia      kent.fitch@xxxxxxxxxxxx



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.