This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
why this expression: match="@foo='bar'" does not work with XT ?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] why this expression: match="@foo='bar'" does not work with XT ?
- From: Mathieu Mangeot Lerebours <Mathieu dot Mangeot at imag dot fr>
- Date: Sat, 6 Jan 2001 17:03:57 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@imag.fr
http://www-clips.imag.fr/geta/mathieu.mangeot
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list