xml with xsl

Thomas B. Passin tpassin at idsonline.com
Mon Jan 3 13:32:02 GMT 2000


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 at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list