Subject: Re: [xsl] using attribute value as an attribute name OR using element value as an attribute name From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 23 Sep 2002 10:03:19 +0100 |
> > <xsl:value-of select="$row/@*[name()=.]"> > > Yes, this seems to be wrong. It's true for every attribute, whose value > is the same as its name, Of course he picked up that code from a very unreliable source... use current() not . so you pick up the current (attribute) node from the outer for-each. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] using attribute value as , Joerg Heinicke | Thread | RE: [xsl] Limiting a FOR-EACH loop, Martinez, Brian |
Re: [xsl] Can you apply a template , David Carlisle | Date | RE: [xsl] Can you apply a template , Michael Carlisle |
Month |