Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSLT and CSS

 
Arsalan Lodhi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've these lines:where i am loafing CSS within my xsl
<!--LOAD THREE STYLESHEETS, 1 COMMON, 1 FOR NETSCAPE, 1 FOR IE-->
<link rel="stylesheet" type="text/css" href="w3_common.css" />
<link rel="stylesheet" type="text/css" href="w3_netscape.css" disabled />
I get the error
Attribute name "link" must be followed by the '=' character
but that doesnt work - does anyone have any Idea -
I've tried this as well
<xsl:text><link rel="stylesheet" type="text/css" href="/JSP/w3_common.css" ></xsl:text>
<xsl:text><link rel="stylesheet" type="text/css" href="/JSP/w3_netscape.css" disabled ></xsl:text>
but in this I dont get displayed the output

any help would be really appreciated
Arsalan
 
Arsalan Lodhi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay - I got my answer ! for detail goto
http://www.w3.org/TR/xml-stylesheet/
Here are the example from HTML 4.0 with the corresponding processing instruction:
<LINK href="mystyle.css" rel="style sheet" type="text/css">
<?xml-stylesheet href="mystyle.css" type="text/css"?>

cheers !
arsalan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic