Subject: RE: Scripting, was "RE:CSS and XSL?" From: Russell Stone <rstone@xxxxxxxxxxxxxxxxxx> Date: Fri, 11 Jun 1999 15:41:47 -0700 |
is the question will xsl include the majority of functionality in javaScript? because you can include javaScript currently in xsl. If it is not well formed js escape it in a cdata section and put all the js u want .. you can even import it... <script> <![CDATA[ var sub_on = new Image(); sub_on.src = "images/sub_on.gif"; var sub_off = new Image(); sub_off.src = "images/sub_off.gif"; ]]> </script> did I miss the point? -----Original Message----- From: shalperin@xxxxxxxxxxxx [mailto:shalperin@xxxxxxxxxxxx] Sent: Friday, June 11, 1999 11:30 AM To: xsl-list@xxxxxxxxxxxxxxxx Subject: Scripting, was "RE:CSS and XSL?" Steven Livingstone wrote: <re: scripting in XSL> > Can (or will) XSL approach this level, or shall you still use the > traditional scripting languages with XSL ??. > For example, how would be provide form validation with XSL?? > I don't know if > it would be worth XSL having this functionality without, say, > Javascript > which already does it anyway. I'm curious about this too. When using XSLT to output HTML, couldn't <SCRIPT> tags be used in an XSL file to include, say, JavaScript files in the resultant HTML file? -s 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 -> |
---|---|---|
Scripting, was "RE:CSS and XSL?", Shalperin | Thread | RE: Scripting, was "RE:CSS and XSL?, Vun Kannon, David |
matching on namespaces, whitespace , Wilson, James.W | Date | Re: how to display XML nodes having, G. Ken Holman |
Month |