commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dIon <d...@apache.org>
Subject [jelly] [jsl] Howto output xml tags gracefully.
Date Mon, 18 Nov 2002 11:31:10 GMT
I've got the following:

<script type="text/javascript"><![CDATA[
   if (document.layers) {
     document.writeln("
       <link rel='stylesheet' type='text/css'
             href='${relativePath}/style/ns4_only.css' media='screen' />
       <link rel='stylesheet' type='text/css'
             href='${relativePath}/style/maven_ns4_only.css' 
media='screen'/>
                     ");
   }
]]></script>

In a script and the <link comes out as:

document.writeln(" &lt;link rel='stylesheet'

as you can see the &lt; is escaped.

How can I stop this?
--
dIon


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message