On 3/22/06, yguaba(_at_)yahoo(_dot_)com(_dot_)br
<yguaba(_at_)yahoo(_dot_)com(_dot_)br> wrote:
I'm not sure I understand your problem.
I need ;
<script type="javascript">
// <![CDATA[ <----------- It's this first '//' what I'm after
javascript here ...
// ]]>
</script>
If this is the case, there's nothing to be escaped: you just take the
contents of the CDATA section and output it as plain text between two
SCRIPT tags.
No, that's not good enough; the output I want to be valid XHTML 1.0
Strict, and as such it needs to live in a CDATA section, but
best-practice also wants single-line comments to preced the CDATA
element, as demonstrated above.
Alex
--
"Ultimately, all things are known because you want to believe you know."
- Frank Herbert
__ http://shelter.nu/ __________________________________________________
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--