HighDots Forums  

javascript and XPath over Firefox

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss javascript and XPath over Firefox in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Une Bévue
 
Posts: n/a

Default javascript and XPath over Firefox - 01-20-2007 , 04:48 AM







i have a page here :

<http://www.yvon-thoraval.com/DOM/xpath.xhtml>

which works with WebKit (Safari latest nightly) but only partly with
Firefox 2, the same with GranParadiso and Opera.

what means partly ?

if my xpath expression is "//body" the script returns nothing.

if my xpath expression is "//*[@attribute = 'some value']" the script
gives the correct answer...

in hope someone knows where is my mistake.

i should mention, as a first tentative i've used a script following
exactly a mozillation application note, afterwards i've followed some
advices from Opera's users, same result...

in the script itself i've left the various tentatives commented.
--
Artaban de Médée

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.