[xsl] DOM node?

Subject: [xsl] DOM node?
From: "james walker" <jameswalkerandy@xxxxxxxxxxx>
Date: Wed, 10 Mar 2004 10:07:51 +0000
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