File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XSLT and CSS