Mikael Helbo Kj�r <[EMAIL PROTECTED]> wrote: > During my research into Java XML Parser and the current XSL recommendations > from W3C I`ve learned that a function to select nodes in a DOM tree using a > XSL pattern is required and this behavior is implemented in the M$ > XMLparsers and Oracle`s XmlParser version 2 in java.
This is not part of the DOM specification, and though MS does have a selectNodes or some such method on their DOM, I feel that this should not be on the DOM itself. Xalan provides an XPath package that can be separated and used stand-alone from the XSLT engine. Using this you can select nodes from the DOM tree using XPath methods. We hope to extend this to implement XPointer (XPath extended with spans) in the future (anyone interested in working on this?). I don't think this functionality should not be part of the core parser itself. -scott
