> > The Apache Xalan project already implements XPath, along with XSLT. Is there > > an advantage to incorporating another, either into Xerces itself, or into > > another Apache project? > > The advantage is when you want to use XPath on a DOM tree without > XSLT. We've been using this internally for a while and have found many > handy uses for it. For example, we have a 'grep' like tool which takes an > XPath expression and an XML document, and returns all the matched nodes.
Xalan's XPath implementation is independent of its XSLT implementation, and can be used seperately. > This implementation also conforms to the W3C's DOM3-XPath > Specification Working Draft. It allows people to experiment with this > spec. As well, it supports namespace nodes, which I believe Xalan doesn't > support. You belief is incorrect. It's hardly possible for a conformant XSLT processor not to support namespace nodes. You should consider verifying such claims before you make them. There _are_ some subtle "bugs" in our XPath implementation because it's built on DOM, rather than the XPath data model, but any DOM-based implementation would have the same issues, since the two data models are different. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
