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

  • From: "Thomas B. Passin" <tpassin@i...>
  • To: <xml-dev@i...>
  • Date: Mon, 3 Jan 2000 08:37:19 -0500

Ashish Agarwal,AMB Chennai wrote:
> Hi,
> I need access attribute values of my XML code in my XSL code.
> Any suggestions please

use @attributename, as in:

<xsl:value-of select="@attribute1"/>

The "@" symbol denotes that you are referring to an attribute instead of an
element.




xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



  • References:
    • xml with xsl
      • From: "Ashish Agarwal,AMB Chennai" <ashish_agarwal@m...>
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member