•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the XML, XSLT and XPATH section within the Software Development category of DaniWeb, a massive community of 397,627 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,351 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our XML, XSLT and XPATH advertiser:
Views: 887 | Replies: 0 | Solved
•
•
Join Date: Mar 2006
Posts: 28
Reputation:
Rep Power: 3
Solved Threads: 0
Hey guys with regards to <xsl:value-of select="Catalog/Product_Type/Name"> how would
i put that in a <h1> html tag which is defined in my css file.
i get errors in xalan when i do that? The results of the value-of select i want it
to be in a different font which is defined as <h1> in my css.
i put that in a <h1> html tag which is defined in my css file.
<h1><xsl:value-of select="Catalog/Product_Type/Name"></h1>
to be in a different font which is defined as <h1> in my css.
language XML Syntax (Toggle Plain Text)
<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>
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb XML, XSLT and XPATH Marketplace
Similar Threads
- the title attribute of the SELECT tag is not supported???? (ASP)
- Select tag, making dropdown larger than tag (HTML and CSS)
- Changing the colour of the arrows of a select menu in a form (HTML and CSS)
- select statemt LIKE (MySQL)
Other Threads in the XML, XSLT and XPATH Forum
- Previous Thread: help regarding xsd schema
- Next Thread: XML to XML make all elements attributes



Threaded Mode