Hi michael,<div>I will try that out, thanks! I have tried something similar yesterday with the CDATA, but let me verify that.</div><div><br></div><div>external js file: yes, that's the standard, but I had a huge jQuery function used for admins only so I did not want to enlarge the regular js file (and for performance reasons also not create yet another referended file), so I wanted to include the function directly into the XSL where it is needed.</div>
<div><br></div><div>Cheers</div><div>Balz<br><br><div class="gmail_quote">On Thu, Jun 30, 2011 at 11:51 PM, Michael Wechner <span dir="ltr"><<a href="mailto:michael.wechner@wyona.com">michael.wechner@wyona.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>

  
    
  
  <div text="#000000" bgcolor="#ffffff">
    Hi Balz<br>
    <br>
    Have you tried <br>
    <br>
    <xsl:comment><![CDATA[<br>
    ....<br>
    ]]></xsl:comment></script><br>
    <br>
    and inside the CDATA you should be able to use <,>,& etc.<br>
    <br>
    Also what about including the Javascript via link, e.g.<br>
    <br>
    <script type="text/javascript"
    src="{$yarep.back2realm}js/jquery.js" /><br>
    <br>
    ?<br>
    <br>
    HTH<br><font color="#888888">
    <br>
    Michael</font><div><div></div><div class="h5"><br>
    <br>
    <blockquote type="cite">hi,
      <div><br>
      </div>
      <div>does anybody know how to use <, > or & in a
        javascript section inside an XSL?</div>
      <div>- the mimetype of the resource output is set to text/html</div>
      <div>- I tried multiple things:</div>
      <div>
        <br>
      </div>
      <div><xsl:value-of select="'&lt;'"/></div>
      <div>
        
        <xsl:value-of select="'<span style="color:rgb(56, 52, 255);font-family:Monaco;font-size:11px">&#60;</span>'"/></div>
      <div><xsl:value-of select="'&lt;'"
        disable-output-escaping="yes" /></div>
      <div><br>
      </div>
      <div>In the resulting HTML, it always renders &lt; which is
        wrong in case for the javascript.</div>
      <div><br>
      </div>
      <div>Any ideas?</div>
      <div><br>
      </div>
      <div>Thanks</div>
      <div>Cheers</div>
      <div>Balz</div>
      <pre></pre>
    </blockquote>
    <br>
  </div></div></div>

<br>--<br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br></blockquote></div><br></div>