xsl-list
[Top] [All Lists]

Re: merging two templates with starts-with same name

2003-04-30 07:41:47

"*[name() = starts-with(refDB, *)]"

That would select every element whose name was "true" or false"
depending on whether that element had a refDB element whose content
started with the string value of the first element child of the element.

What I think you want is

"*[starts-with(name(),'refDB')]"

which selects all elements whose name starts with the string refDB.

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>