[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

calling javascript during transformation w/ IE6; need

Subject: calling javascript during transformation w/ IE6; need URL
From: Dan Diebolt <dandiebolt@xxxxxxxxx>
Date: Wed, 24 Jul 2002 06:52:48 -0700 (PDT)
ie6 javascript
I have a need to call javacript during transformation and would like
to be able to determine the URL of the XML document. I am using IE6.
Does anyone know how to do this or if it is possible? I am playing
with the following stylesheet:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:msxsl="urn:schemas-microsoft-com:xslt"
                xmlns:user="http://mycompany.com/mynamespace"
                version="1.0">
        
 <msxsl:script language="javascript" implements-prefix="user">
  <![CDATA[
   function ReturnURL() {
     ...
     return URL;
   }
  ]]> 
 </msxsl:script>

 <xsl:template match="/">
  <xsl:value-of select="user:ReturnURL()"/>
 </xsl:template>
</xsl:stylesheet>

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.