Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

XSLT and CSS  RSS feed

 
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
 
I child proofed my house but they still get in. Distract them with this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!