[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: attribute value matching

Subject: RE: attribute value matching
From: David Schach <davidsch@xxxxxxxxxxxxx>
Date: Thu, 11 Feb 1999 14:48:13 -0800
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.