Import an external JavaScript file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elsheh
    New Member
    • Nov 2006
    • 29

    #1

    Import an external JavaScript file

    Hi. Guys
    I use an XSLT style sheet to transform my xml document into html doc. I need to embed an external JavaScript file into html doc. The following line is used for this purpose:
    <script type='text/javascript' src='xxx.js'></script>
    Although, all files are allocated in a single directory, html doc. can’t import the JvaScript file

    You help is appreciated
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Originally posted by elsheh
    Hi. Guys
    I use an XSLT style sheet to transform my xml document into html doc. I need to embed an external JavaScript file into html doc. The following line is used for this purpose:
    <script type='text/javascript' src='xxx.js'></script>
    Although, all files are allocated in a single directory, html doc. can’t import the JvaScript file

    You help is appreciated
    I think I found you what you needed, elsheh!

    Take a look here: http://www.w3schools.com/xsl/xsl_client.asp

    In a bit!

    Comment

    Working...