473,695 Members | 2,626 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using Sarissa transformToDocu ment()

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.getDomD ocument();
xml.async = false; //Load my xml file containing many child Country
elements.
var objNodeList = xml.getElements ByTagName("Coun try");
var myxsl = Sarissa.getDomD ocument();
myxsl.async = false;
//Now load the stylesheet
myxsl.load('Geo dessaRateCalc.x sl');
//Now create a new xslt processor
var processor = new XSLTProcessor() ;
processor.impor tStylesheet(myx sl);
processor.setPa rameter(null,"S ourceCountry"," England");
var ratesHTML = processor.trans formToDocument( xml);
rateResult.inne rHTML = Sarissa.seriali ze(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?

Mar 30 '06 #1
1 3557
sc*********@ukg ateway.net wrote:
[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
Mar 30 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5927
by: rawCoder | last post by:
Hi All, I have a *.cer file, a public key of some one and I want to encrypt some thing using this public key. Can someone point me to a sample code for Encrypting some file using X509Certificate ( *.cer file ) so that it can be used to email as attachment. The real part is Encrypting using X509Certificate and CryptoServiceProvider.
1
567
by: Mike | last post by:
When trying to compile (using Visual Web Developer 2005 Express Beta; frameworkv2.0.50215 ) the source code below I get errors (listed below due to the use of ICallBackEventHandler. Ultimately I want to use a callback from the client side to update webcontrols based on user input without using postback. I am seeking a way to stop the compile errors. using System; using System.Data;
3
2157
by: adam | last post by:
Hi, I'm building a tree control that lazily loads branches of the tree using the document.load() method. The external XML document that is loaded is generated by a servlet as XHTML. What I would like to do is to add the new tree branch to the correct place in the document in the browser window using the innerHTML property of the parent node.
2
2218
by: Arun | last post by:
I am trying to build a site using xmlhttprequest, so that the browser never reloads. I want to pass the HTML info of the "navigation column" , "content column" as a XML page from the server. >From the help on the net, I have managed to use xmlhhtprequest succesfully to get the file from server and parse the XML. But I dont know how to display the HTML info on the page. When I just add the parsed HTML content from the xml to a <div>, it...
2
5384
by: Christoph | last post by:
Hello, I found the following XHTML document for testing sarissa's XPath implementation at http://sarissa.sourceforge.net/doc/. I replaced "Sarissa_0-9b3.js" in the test document below by "sarissa.js" from sarissa0.9.6.1. Loading the document Firefox replies "XML filtering predicate operator called on incompatible XMLDocument". What's wrong? Thanks in advance, Christoph
2
1730
by: rizjabbar | last post by:
I have a memory leak happening... I believe it is due to Dom parser... could anyone help me with this: Do I need a delete??? /////////////////////////////////////////////// //Code on Main HTML page: <html> <head> <SCRIPT LANGUAGE="JavaScript" SRC="Engine.js" ></SCRIPT> <SCRIPT LANGUAGE="JavaScript" SRC="Sarissa.js" </SCRIPT> </head>
2
3097
by: Jonny B | last post by:
Hi all, I'm working on an a clientside xslt using jscript that passes a parameter to the xsl. I've got it working no problem in IE but cant get it to work in Mozilla. Can anyone help? This is my IE code - <html> <head> <title>CEL Learning</title>
0
8640
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8582
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9001
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8860
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7670
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6496
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4348
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4587
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2280
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.