• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is it too hard for you to find a solution????????

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do you place a javascript document into XSL (or XML) to display a DynamicHTML page? I tried to place it in the XSL document by using -
<script language="JavaScript">
<xsl:jscript>
*** codes here ***
</xsl:jscript>
</script>
It seems it doesn't work.
Please see it at http://www.magnixsolutions.com/dev/eplusware/testeplus1.html
XML/XSL file -
../eplusdoc.xml
../eplusstyle.xsl
Thanks alot!
Christian
 
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Usually people put JavaScripts in XSLT document inside CDATA sections, so you do not need to escape & and < symbols.
<script language="JavaScript">
<xsl:comment>
<![CDATA[
your script here
]]>
</xsl:comment>
</script>

[This message has been edited by Mapraputa Is (edited June 01, 2001).]
 
reply
    Bookmark Topic Watch Topic
  • New Topic