This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: name() and attribute() ?
- To: xsl-list at mulberrytech dot com
- Subject: Re: name() and attribute() ?
- From: Lee Goddard <home at leegoddard dot com>
- Date: Wed, 23 Aug 2000 16:02:33 +0100
- Organization: Little Bits Ltd / Research Centre for Cognitive Science, University of Sussex
- References: <39A39A3B.E81BC2D@leegoddard.com> <39A3C6B3.1065A6AB@redrice.com>
- Reply-To: xsl-list at mulberrytech dot com
Dah, drat, yes: not seeing my own nose at the mo,
final project week and all that....
Thanks, Francis.
lee
Francis Norton wrote:
>
> Hi Lee!
>
> Lee Goddard wrote:
> >
> > Could someone please tell me the equivalent
> > for name() that will give a node's attributes?
> >
>
> Possibly simpler than you think - try something like this:
>
> <xsl:for-each select="@*">
> <xsl:text/> attribute name is : <xsl:value-of select="name()"/>
> </xsl:for-each>
>
> Francis.
> --
> Francis Norton.
>
> Defy Convention? Deify Convention!
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
Lee Goddard <l.goddard@sussex>
Research Centre for Cognitive Science,
University of Sussex, Brighton UK
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list