xsl-list
[Top] [All Lists]

AW: WG: Display attribute inside an xsl:for-each-group loop

2005-06-23 01:45:40
Hi,

To display the value of attribute @att, do <xsl:value-of
select="@att"/>.
The message is telling you that @att/text() doesn't make much sense:
it's
short for attribute::att/child::text(), and attribute nodes don't have
children so this will always be an empty set.
I'm not sure if I really understand why it works, but ... it works, so I
like it!

Thank you very much!
Best regards,
Clemens Prerovsky

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>
  • AW: WG: Display attribute inside an xsl:for-each-group loop, Prerovsky, Clemens <=