xsl-list
[Top] [All Lists]

DOM node?

2004-03-10 03:07:51
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



<Prev in Thread] Current Thread [Next in Thread>