Subject: RE: [xsl] 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 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] include external JS file , David Carlisle | Thread | [xsl] including files, Nathan Shaw |
RE: [xsl] Design Issues in XSLT, WATKIN-JONES,ADAM (H | Date | [xsl] Numbering, alexandre bord |
Month |