[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSL and CSS

Subject: RE: XSL and CSS
From: "Gertjan Assies" <Gertjan.Assies@xxxxxxxxxxxxxx>
Date: Thu, 28 Mar 2002 12:09:12 +0100
howto xsl stylesheet css html
you've applied your book template in the header of the html page
shouldn't it be in de body of the page

perhaps you mean to do this (i also added a xsl:output tag) :

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="html" version="4.0" indent="yes" omit-xml-declaration="yes" />

<xsl:template match="/">
<HEAD>
 <LINK REL="stylesheet" TYPE="text/css" HREF="books1.css"/>
</HEAD>
<BODY>
<xsl:apply-templates select="books/book" />
</BODY>
</xsl:template>
...
...
</xsl:stylesheet>

HTH,
Gertjan

-----Original Message-----
From: Alia Mikati [mailto:Aliam@xxxxxxxxxxxxxxxxxxxx]
Sent: donderdag 28 maart 2002 11:31
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  XSL and CSS


Hello
I have this xsl file that includes a link to a CSS stylesheet:

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
<HEAD>
<xsl:apply-templates select="books/book" />
 <LINK REL="stylesheet" TYPE="text/css" HREF="books1.css"/>
</HEAD>
</xsl:template>
...
...
</xsl:stylesheet>

Everything is working and I'm getting the appropriate output when 
applying XSL to XML file except that it's not applying the CSS stylesheet.
What do u think could be the problem?

Thx a lot



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • XSL and CSS
    • Alia Mikati - Thu, 28 Mar 2002 05:18:03 -0500 (EST)
      • <Possible follow-ups>
      • Gertjan Assies - Thu, 28 Mar 2002 06:04:32 -0500 (EST) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.