Subject: Re: [xsl] variable match attribute From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 13 Jul 2001 13:02:39 +0200 (MET DST) |
> 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@xxxxxxxxxxxxxxxxxxxxxxx | | op|qo WWW: http://www.informatik.hu-berlin.de/~obecker | \-------------------------------------------------------------------/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] variable match attribute, David Carlisle | Thread | RE: [xsl] variable match attribute, Bedwell Tom |
[xsl] Newbie XSL Advice, Hewko, Doug | Date | RE: [xsl] saxon node-set variable c, Michael Kay |
Month |