|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: attribute value matching
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
|
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








