Sarissa selectNodes

R

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?
 
A

anton.spass

RKS said:
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_xpath.js in your html source,
i.e. :
<script type="text/javascript"
src='js/sarissa_ieemu_xpath.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.ContentType = "text/xml";
 

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

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top