xsl-list
[Top] [All Lists]

Re: creating a node-set at run-time

2003-02-05 02:42:53

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



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