CSS and XML attributes

Steven Livingstone, ITS, SENM steven.livingstone at scotent.co.uk
Wed Jun 16 13:23:20 BST 1999


You could use something like this ...

<xsl:for-each select="PRODUCT [@ID]">
	<B><xsl:value-of /></B><BR/>
</xsl:for-each>

steven

Join Association of Internet Professionals - http://www.citix.com/aip

Steven Livingstone
President, AIP Scotland.
ceo at citix.com
http://www.citix.com

> -----Original Message-----
> From:	Elham Ghassemzadeh [SMTP:elham at cs.stanford.edu]
> Sent:	16 June 1999 02:20
> To:	xml-dev at ic.ac.uk
> Subject:	CSS and XML attributes
> 
> Is there a way to display the value attributes using style sheets?  For
> example what do I write in my style sheet to display product id in the
> following example?
> 
> <PRODUCT ID="C07981"> .... </PRODUCT>
> 
> Thanks for your help
> Elham
> --
> Elham Ghassemzadeh
> Stanford University
> elham at cs.stanford.edu
> 
> 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 (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
> (un)subscribe 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)

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 (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe 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