xsl-list
[Top] [All Lists]

Re: Using scripts with XML

2002-11-12 22:41:50
Quoting Chitra Lalita Madhwacharyula <iscp1059(_at_)nus(_dot_)edu(_dot_)sg>:

      Hello,

      Is it possible to use any scripting language like Javascript or
ECMAScript directly with XML like they can be used    with HTML  or is
XSLT compulsarily needed for using the scripts ?

AFAIK, it is not possible to use JavaScript/ECMAScript inside either XML or XSL 
files. But you could convert XML to HTML with Javascript, using XSL.

XML files can be used without XSL, it depends on what you are doing. XML can be 
used with CSS to render simple pages in a web browser. If you want to actually 
change the XML into, say, HTML, then you will need to use XSL.

XML and XSL can both be written dynamically using a scripting language like 
PHP, Python or Perl.

Mick


      Rgds,
      Chitra 

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



-- 
----------------------------------------------------
MICHAEL HALL                 Web Development Officer
Batchelor Institute of Indigenous Tertiary Education
W: mick(_dot_)hall(_at_)nt(_dot_)gov(_dot_)au                (08) 8951 8352
H: ninti(_at_)ninti(_dot_)com                    (08) 8953 1442
----------------------------------------------------

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



<Prev in Thread] Current Thread [Next in Thread>