Re: [xsl] creating a node-set at run-time

Subject: Re: [xsl] creating a node-set at run-time
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 5 Feb 2003 09:42:53 GMT
> a specific attribute in the root node

root nodes don't have attributes so I assume you mean the top level 
element node.

Your description wasn't too clear but it sounds like you want the set of
all root nodes for which the top level elemnt has this attribue

the set of documents that have <xxx yyy="bbb"> is

<xsl:variable name="x" select="document(list/item/@ref)[xxx/@yyy='bbb']"/>

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread