* Martin Honnen wrote:
John Smith wrote:
>>
I'm trying to make some Javascript X-browser.
foo is a HTML DOM.
I have foo.documentEle ment.selectNode s("xpath"); in the source.
I see later down there is also a foo.transformNo de. Yuck.
Has someone written a x-browser selectNodes/transformNode implementation
so that I can get this code working in a non IE browser??
Since then does IE support selectNodes or transformNode on a HTML DOM?
erm XML DOM?
My point was I have a load of code that uses selectNodes and
transformNode and (obviously) it doesn't work in other browsers and I
was hoping there might be a simple way of getting something quick and
dirty running. Perhaps using prototyping to add these methods where they
are lacking to any other DOM i'm using, so I don't have to change the
existing code (easier for testing, and also better for me not cocking up
anything that currently works by touching it).
I saw mozxpath.js , but now I've found Sarissa and to be honest it looks
like it might be the way to go but I know nothing about this kind of
stuff so I was looking for helpful comments :-)