OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
XSL Stylesheet seems to be inline format...
This page's ID:
11029
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
If I understood well your question (which I'm not sure, I too have problems with English :D ), you want to include CSS styles in your XSL files ? You can. An example from [url=http://www.w3schools.com/xsl/xsl_transformation.asp]this page[/url], I added the bolded part : [code]<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> [b]<head> <link href="css.css" rel="stylesheet" type="text/css" /> </head>[/b] <body> <h2>My CD Collection</h2> <table border="1"> <tr bgcolor="#9acd32"> <th align="left">Title</th> <th align="left">Artist</th> </tr> <xsl:for-each select="catalog/cd"> <tr> <td [b]class="title"[/b]><xsl:value-of select="title"/></td> <td><xsl:value-of select="artist"/></td> </tr> </xsl:for-each> </table> </body> </html> </xsl:template> </xsl:stylesheet>[/code] The bolded parts will result in applying the class "title" defined in css.css. [url=http://faq.ozoneasylum.com/1226/rating/] [img]http://moon.shadow.free.fr/images/sigs/index.php[/img] [/url] [This message has been edited by Moon Shadow (edited 08-21-2003).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »