This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: variable match attribute
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] variable match attribute
- From: Oliver Becker <obecker at informatik dot hu-berlin dot de>
- Date: Fri, 13 Jul 2001 13:02:39 +0200 (MET DST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I know, the match attribute is a pattern, where I can't use variables
> but how can I solve the problem:
> 'read element names from a document B and use them as template pattern
> in document a'
one possible solution I think:
<xsl:template match="*">
<xsl:if test="$start/*[name() = name(current())]">
...
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@informatik.hu-berlin.de |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list