Re: [dom4j-user] SAXReader.addHandler() path arg

2003-01-27 Thread Craig Goss
James wrote: > Its on our TO DO list to allow XPath patterns to be used with the > addHandler() method so that you could use an XPath expression like //foo or > /*/bar or whatever - it shouldn't be too hard to do. The org.dom4j.rule > package already does most of the necessary stuff already. If an

Re: [dom4j-user] SAXReader.addHandler() path arg

2002-02-20 Thread James Strachan
Hey Franz   You could always try writing a SAX XMLFilter to filter out whatever you like using whatever matching patterns you can think of. Then you can install it as follows   XMLFilter filter = new MyFilter(); SAXReader reader = new SAXReader(); reader.setXMLFilter( filter ); ...   Its on ou