|
Subject: [xsl] <![CDATA[ in Sablotron Parser From: "Tim Watts" <timw@xxxxxxx> Date: Wed, 28 Feb 2001 12:55:38 +1100 |
Hi,
There is a problem in the *Sablotron* Parser when using <![CDATA[
In the header of the HTML files which I am creating with XSL I want to use
javascript in the final comment tags.
By using XSL
<script type="text/javascript" language="javascript">
<![CDATA[
<!-- comments here -->
<!--
function someJavascript() {
if (something) {
thenDo.this();
}
}
-->
]]
<script>
I get HTML
<script type="text/javascript" language="javascript">
<-- comments here -->
<--
function someJavascript() {
if (something) {
thenDo.this();
}
}
-->
<script>
Rather than HTML
<script type="text/javascript" language="javascript">
<;-- comments here -->
<;--
function someJavascript() {
if (something) {
thenDo.this();
}
}
-->
<script>
Can anyone help?
(I could just put the <-- comments --> outside the <![CDATA[ ]] section as
<-- coments --> but I would rather not have to :-) )
Tim Watts
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] pruning nodes not in xpat, Cliff McBride | Thread | RE: [xsl] <![CDATA[ in Sablotron Pa, Tim Watts |
| [xsl] pruning nodes not in xpath li, Cliff McBride | Date | RE: [xsl] <![CDATA[ in Sablotron Pa, Tim Watts |
| Month |