Using Sarissa transformToDocument()

S

scot.haynes

Can anyone help me with the following problem I'm having using the
Sarissa parser. I am running the following java script

var xml = Sarissa.getDomDocument();
xml.async = false; //Load my xml file containing many child Country
elements.
var objNodeList = xml.getElementsByTagName("Country");
var myxsl = Sarissa.getDomDocument();
myxsl.async = false;
//Now load the stylesheet
myxsl.load('GeodessaRateCalc.xsl');
//Now create a new xslt processor
var processor = new XSLTProcessor();
processor.importStylesheet(myxsl);
processor.setParameter(null,"SourceCountry","England");
var ratesHTML = processor.transformToDocument(xml);
rateResult.innerHTML = Sarissa.serialize(ratesHTML);

For some reason in all browsers ratesHTML is not being populated. I
know that my stylesheet and xml document work using MSXML2 parser
functionality in IE.

Does anyone have a suggestion as to how I can get this code to work
properly in Firefox?
 
T

Thomas 'PointedEars' Lahn

[3 Sarissa problems, similar text]
Does anyone have a suggestion as to how I can
get this code to work properly in Firefox?

RTFM.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top