This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes XSLT and CSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSLT and CSS" Watch "XSLT and CSS" New topic
Author

XSLT and CSS

Arsalan Lodhi
Greenhorn

Joined: Jul 05, 2001
Posts: 4
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

Joined: Jul 05, 2001
Posts: 4
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
 
wood burning stoves
 
subject: XSLT and CSS
 
Similar Threads
Struts help
Conversion to JSTL - Help
jsp and style sheets
css not working with jsp page
Style Sheet Problem in Websphere