Re: [xsl] merging two templates with starts-with same name

Subject: Re: [xsl] merging two templates with starts-with same name
From: "Braumüller, Hans" <H.Braumueller@xxxxxxxxxxxx>
Date: Thu, 8 May 2003 12:45:41 +0200
Hi David,

thanks,

today i noticed your answer, that was the syntax i was looking for.

Hans


"*[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


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


Current Thread