[XML-SIG] Does anyone do DOM navigation anymore?

Ellinghaus, Lance lance.ellinghaus at eds.com
Mon Jul 5 17:34:24 CEST 2004


I use the DOM navigation all the time.
I do not know about XPATH so I cannot say if I would use that more than DOM.

Lance

Lance Ellinghaus
TWAI Operations Integration/Special Projects
Work Phone: 214-922-6458
Work Cell: 972-877-0409
Nextel: 142*52*5511
Home Phone: 940-271-1274
Email: lance.ellinghaus at eds.com



-----Original Message-----
From: xml-sig-bounces at python.org [mailto:xml-sig-bounces at python.org] On
Behalf Of Derek Fountain
Sent: Monday, July 05, 2004 6:37 AM
To: xml-sig at python.org
Subject: [XML-SIG] Does anyone do DOM navigation anymore?


I've spent the last few days tinkering with DOM trees and the DOM API. A 
couple of years back I wrote a fairly complex application which found the 
data it required using this nextSibling, firstChild, sort of navigation. I 
recall the development experience wasn't a terribly happy one, and I have 
always presumed that XPATH was largely invented to get past all this mucking

about.

So it occurs to me to ask on the SIG list: do people still use the original 
DOM style navigation? When is it preferable to XPATH? Why, in short, is the 
whole "document hopping" idea not deprecated?!

_______________________________________________
XML-SIG maillist  -  XML-SIG at python.org
http://mail.python.org/mailman/listinfo/xml-sig



More information about the XML-SIG mailing list