Subject: RE: attribute value matching
From: David Schach <davidsch@xxxxxxxxxxxxx>
Date: Thu, 11 Feb 1999 14:48:13 -0800
|
I suspect this is an XML syntax issue. Change the inner double quotes to
single quotes as below.
<xsl:value-of select="archdesc/dsc/.//c[@level =
'series']/did/unittitle"/>
-----Original Message-----
From: Stephen Yearl [mailto:stephen_yearl@xxxxxxx]
Sent: Thursday, February 11, 1999 1:58 PM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: attribute value matching
Here's a quikie:
MSFT Site Builder workshop on XSL pattern matching has the following
example for matching attributes:
Find all bookstores where the value of the specialty attribute is equal
to "textbooks":
/bookstore[@specialty = "textbooks"]
Why, then does my <xsl:value-of select="archdesc/dsc/.//c[@level =
"series"]/did/unittitle"/> return errors in IE5.0 regarding whitespace
ommission? Adding whitespcae at the required point results in an error
of "missing equals sign between attribute and attribute value".
much obliged,
--
Stephen Yearl, Project Archivist
stephen_yearl@xxxxxxx
*****************************
Connecticut Historical Society
*****************************
1 Elizabeth Street
Hartford, CT 06105
(860) 236-5621
http://www.chs.org
*****************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|