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

DOM node?

Subject: DOM node?
From: "james walker" <jameswalkerandy@xxxxxxxxxxx>
Date: Wed, 10 Mar 2004 10:07:51 +0000
dom walker
When i created a select statement like this:

<xsl:apply-templates select="allrequirements/requirement[inscope/@key=('Multiuser' | 'Application')]" />

and tried to perform a translation, i got an error saying "expression does not return a DOM node", so i tried:

<xsl:apply-templates select="allrequirements/requirement[inscope/@key=('Multiuser' | 'Application')] | allrequirements/requirement[inscope/@key=('Application')]" />

and itworked, what is a DOM node? and why did my code work? the only reason i tried it was because i have seen a for-each statement where many files are selected using the "|" operator.

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread
  • DOM node?
    • james walker - Wed, 10 Mar 2004 05:08:28 -0500 (EST) <=

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.