
May 1st, 2008, 01:02 AM
|
|
Contributing User
|
|
Join Date: Aug 2005
Posts: 61
Time spent in forums: 20 h 23 m 28 sec
Reputation Power: 3
|
|
|
Value of select xslt
Hey guys just wondering in regards to this peice of code how would i put it in a <h1> </h1> so that i can apply css to the results of the value of select? h1 is already defined in my css file but how do i declare it in the XSLT file on the value of select instruction?
<xsl:value-of select="Catalog/Product_Type/Name">
</xsl:value-of>
Code:
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
Phil's Bike Store
</title>
<link href="Store.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<h1>Phil's Bike Store</h1>
<p>
<a href="#Road Bikes">Road Bikes</a>|
<a href="#MTB Bikes">MTB Bikes</a>
<a href="#clothing">clothing</a> |
<a href="#Lights">Lights</a> |
<a href="#Parts and Accesories">Parts andAccesories</a>
</p>
<xsl:value-of select="Catalog/Product_Type/Name">
</xsl:value-of>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Last edited by musicmancanora4 : May 1st, 2008 at 01:06 AM.
|