|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] why this expression: match="@foo='bar'" does not work
Hello everybody and best whishes for 2001 !
I read all the documents about XSLT I could find (XSLTand XPATH recommendations, various FAQs)
but I was unable to solve my problem.
Could you help me please ?
I'm currently using XT from James Clark.
I want to create a template for an attribute whose name foo is equal to a particular
string bar.
I wrote the following template:
<xsl:template match="@foo='bar'">
...
</xsl:template>
But this generates the following error: unexpected token.
For the moment, I'm using this template:
<xsl:template match="@foo">
...
</xsl:template>
But it is not what I want because it applies on too much attributes.
Does anyone have an idea of what's wrong or a solution ?
Thanks a lot.
--
Mathieu MANGEOT-LEREBOURS | Phone : +33 4 76 51 43 80
GETA-CLIPS-IMAG BP 53 | Fax : +33 4 76 51 44 05
F-38041 Grenoble cedex 9 | E-mail: Mathieu.Mangeot@xxxxxxx
http://www-clips.imag.fr/geta/mathieu.mangeot
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
|

Cart








