[Home] [By Thread] [By Date] [Recent Entries]

Subject: AW: WG: Display attribute inside an xsl:for-each-group loop
From: "Prerovsky, Clemens" <Clemens.Prerovsky@xxxxxxx>
Date: Thu, 23 Jun 2005 10:45:40 +0200
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

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member