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

RE: xslt spec - or condition

Subject: RE: xslt spec - or condition
From: "Jason Macki" <jmacki@xxxxxxx>
Date: Thu, 18 Jul 2002 15:17:29 -0500
xslt condition
The template:

<xsl:template select="chapter|appendix">
</xsl:template>

Will match both chapter and appendix elements, so you're correct when
you read the select statement as "chapter or appendix".

This means that a call to <xsl:apply-templates /> will match *both*
chapter and appendix elements to the above template (that's what they
mean by "and").

-----Original Message-----
From: subbu@xxxxxxxxxxxx [mailto:subbu@xxxxxxxxxxxx] 
Sent: Thursday, July 18, 2002 10:23 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  xslt spec - or condition



hi 
I was going through the XSLT Spec and found the following line there

"chapter|appendix matches any chapter element and any appendix element"


what catches me is that the above line reads chapter and appendix

when i would have thot that '|' would be more close to 'or' than 'and'.
i thot it shud read chapter or appendix.

can somebody explain me what i am missing?
 thanks
 



--------------------------------------------------------------
Sent with "Me-Mail", Boltblue's FREE mobile messaging service.
http://www.boltblue.com


 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.