Subject: equal signs in XML attribute values From: "Freed, Erik" <freed@xxxxxxxxxxxxxxxxxx> Date: Tue, 1 Dec 1998 14:53:22 -0800 |
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 This message from my tests seems to clearly be referring to the equals sign. I have tryed escaping the equals sign in numerous ways, but to no avail. I have tried double quotes and apostrophes for various scope levels of the syntax. Nothing seems to get around the fact that the XML compiler does not like an equals sign within the body of the value of an attribute. Is there some way to get this to pass to XSL that I am missing, or is this an incompatibility between XML and XSL patterns? cheers, erik XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Administrivia -changed, XSL-List Owner | Thread | Re: equal signs in XML attribute va, Kent Fitch |
Administrivia -changed, XSL-List Owner | Date | Re: equal signs in XML attribute va, Kent Fitch |
Month |