473,597 Members | 2,256 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sarissa selectNodes

RKS
Has anyone experienced a problem with the Sarissa implementation of
selectNodes? My code, using the Sarissa parser, successfully loads an
xml document into the domNode variable. The selectNodes method then
fails to load any nodes.

This problem only occurs when using the Firefox browser though. In IE
the same selectNodes functions loads the nodes as I expected. Has
anyone any ideas why this might be occuring?

Apr 3 '06 #1
1 3802
RKS wrote:
Has anyone experienced a problem with the Sarissa implementation of
selectNodes? My code, using the Sarissa parser, successfully loads an
xml document into the domNode variable. The selectNodes method then
fails to load any nodes.

This problem only occurs when using the Firefox browser though. In IE
the same selectNodes functions loads the nodes as I expected. Has
anyone any ideas why this might be occuring?


Please make sure to include sarissa_ieemu_x path.js in your html source,
i.e. :
<script type="text/javascript"
src='js/sarissa_ieemu_x path.js'></script>

If you generate mentioned xml on the server side and write it into
response, please make sure to set appropriate content type, i.e. (in
C#):

Response.Conten tType = "text/xml";

Apr 4 '06 #2

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

Similar topics

2
5381
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
8
6435
by: e-mid | last post by:
i want to get childs of specific xml node. normally i use xmlNodeList fooList = myNode.SelectNodes("foo"); but in compactframework , there is no selectNodes() method or selectSingleNode() method. what else can i use instead?
2
1756
by: Michael H | last post by:
Hello group, I have a some xml that looks like this below: <tuneRequests ct="3" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <tr xsi:type="trGenericType" number="2">
2
2181
by: Linda Boumarafi | last post by:
Hi, This is a newbie question to XMLNS. I just finished the article on "XML Namespaces and How They Affect XPath and XSLT" by Dare Obasanjo and I'm pretty sure I understand the problem. I just don't know how to achieve the desired XPath result. I'm dealing with an XML document that has two XMLNS' in the root node (Report) and I'm ending up with 0 results using SelectNodes. If I take out both namespaces, the SelectNodes(XPathQuery) works...
2
4392
by: Joe | last post by:
Hello All: Does anyone know the differnce between the GetElementsByTagName method and the SelectNodes method? I know that they take different arguments. They also both return a NodeList. I'm wondering when would I use one vs. the other. TIA, -- Joe
1
3549
by: scot.haynes | last post by:
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
2
1725
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>
0
7884
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
8380
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
8024
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
8258
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6681
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...
0
5423
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2394
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1493
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1229
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.