Re: [xsl] Dynamic processing of xml file using xsl and javascript (200411/msg00765)

Subject: Re: [xsl] Dynamic processing of xml file using xsl and javascript (200411/msg00765)
From: Emmanouil Batsis <Emmanouil.Batsis@xxxxxxxxxxx>
Date: Mon, 31 Oct 2005 18:55:03 +0200
Hi Alan,

Please use the SF project forum for sarissa issues, this is an XSLT-only list :-)

Alan Varga wrote:

var xslDoc = Sarissa.getDomDocument("Band-Cadet.xsl");


This is wrong. If you actually take a look at the API and HOWTOs [1], you'll see that getDomDocument is not doing what you think. The right way is more like

var xslDoc = Sarissa.getDomDocument();
xslDoc.async = true;// optional
xslDoc.load("Band-Cadet.xsl");


Same goes on how you load your XML file etc. If you have more questions please check out the project page [2] where you can find the forum and all.


[1] http://sarissa.sourceforge.net/doc/
[2] https://sourceforge.net/projects/sarissa/

Cheers,

Manos

Current Thread