• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!