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

Re: jd.xslt bug (at least unexpected)?

Subject: Re: jd.xslt bug (at least unexpected)?
From: Daniel Veillard <daniel@xxxxxxxxxxxx>
Date: Mon, 4 Aug 2003 00:19:56 +0200
unexpected element cdata
  Isn't that one of the suggested serialization rules for XHTML1
script and style element being activated ? As usual trying to debug
a partial stylesheet opens the door to way too many interpretations...

Daniel

/me notes that IE seems to have troubles handling those escaped
    XHTML1 script and style elements, I can't test it but it was
    reported to me.

On Sun, Aug 03, 2003 at 11:21:35PM +0200, Johannes Döbler wrote:
> Hi,
> 
> normally, the only way to get a CDATA section in the output is to include a 
> cdata-section-elements attribute in a xsl:output instruction, i.e. in your 
> case something like this:
> 
> <xsl:output ... cdata-section-elements="... style ..."/>
> 
> Could you check if your stylesheet contains such a clause? If yes then just 
> remove the style element from the cdata-section-elements attribute value. 
> If not its probably a bug - in that case it would be great if you send me a 
> stylesheet and input document which reproduces the bug.
> 
> thanks,
> Johannes Döbler
> 
> 
> At 13:04 03.08.03 -0700, you wrote:
> >Hi,
> >
> >I have been wanting to try out jd.xslt because I have heard so many good
> >things.
> >
> >However, I tried a transformation on something that had the following:
> >
> ><style type="text/css" media="all">@import "<xsl:value-of
> >select="$relative_path"/>css/default.css";</style>
> >
> >
> >It outputs as:
> >
> ><style type="text/css" media="all"><![CDATA[@import
> >"http://dev.94107.com/css/default.css";]]></style>
> >
> >What it means is that the browser will not see my CSS file to bring it 
> >down.
> >
> >Is there some way to turn this off?
> >
> >Thanks,
> >-Rob Koberg
> >
> >
> > XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | 

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


Current Thread

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.