XPath only for XML? (was: What is a subject of a test?)

Johannes Koch wrote:

> Apache's XPathAPI (in Xalan Java version) uses DOM nodes - from XML or 
> HTML documents. Maybe someone can share information about more XPath 
> implementations.

According to its JavaDoc JDOM's XPath implementation operates on JDOM 
objects, which can be created from W3C DOM objects. So, in theory JDOM 
should be able to handle HTML. Not tested.
-- 
Johannes Koch - Competence Center BIKA
Fraunhofer Institute for Applied Information Technology (FIT.LIFE)
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628

Received on Thursday, 31 March 2005 10:41:56 UTC