[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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.
At 13:04 03.08.03 -0700, you wrote:
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] jd.xslt bug (at least unexpected)?
Subject: Re: [xsl] jd.xslt bug (at least unexpected)? From: Johannes Döbler <jd@xxxxxxxxxxxxxx> Date: Sun, 03 Aug 2003 23:21:35 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] jd.xslt bug (at least unexpec, Robert Koberg | Thread | Re: [xsl] jd.xslt bug (at least une, Daniel Veillard |
[xsl] jd.xslt bug (at least unexpec, Robert Koberg | Date | Re: [xsl] jd.xslt bug (at least une, Daniel Veillard |
Month |