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

RE: include external JS file in SVG document through a

Subject: RE: include external JS file in SVG document through an XSLT process
From: "Américo Albuquerque \(E-mail\)" <aalbuquerque@xxxxxxxxxxxxxxxx>
Date: Wed, 10 Jul 2002 11:46:30 +0100
include external js
Hi.
if you want to include an external js file you should use the 'src'
attribute instead of the 'href'.
<script src="somejavascript.js"></script> will be inluded but <script
href="somejavascript.js"></script> will not.


-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Tamorri
Claudio
Sent: Tuesday, July 09, 2002 4:13 PM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject:  include external JS file in SVG document through an XSLT
process


Hi ,
I'm developing a web application in which , basically, there is a servlet
that,
through the oracle's "sdoapi" package, retrieve geographic data and
transform them in xml stored in memory (ByteArrayInputStream). This xml is
transformed in svg document through style sheet ie xsl file (using package
JAXP).I'm trying to include an external java script file by the xsl file to
make more dynamic the svg document, i have try in this manner:

<xsl:element name='script'>
  <xsl:attribute name="xlink:href">
  <xsl:text>provaJS.js</xsl:text>
  </xsl:attribute>
</xsl:element>

-------------------------------------------

<script xlink:href="provaJS.js">

-------------------------------------------

but in nothing way get what i want. With the previous syntax the application
don't return an error but the function called is not retrieve. Can someone
help me?

Claudio

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




 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.