Re: [dom4j-dev] Fwd: Re: [xml-dev] DESIGN PROPOSAL: Java XMLIterator

2001-12-19 Thread James Strachan
Hi Thomas This looks interesting. I've been working with XPP2 quite cloely lately. CVS now has a new XPPReader that uses the XPP2 which is about 10-20% faster than SAX. Though hopefully we can make it lazy so that it only parses the parts of the document that are required. XPP2 and James Clark's

Re: [dom4j-dev] cp.bat file packaged with dom4j-1.1.zip

2001-12-19 Thread James Strachan
Hi Bill - Original Message - From: "Parker-Combes, William CECOM LRC LEO" <[EMAIL PROTECTED]> > The cp.bat file I received with dom4j-1.1.zip needs to be modified. > > The cp.bat file has one line: > set CP=%CD%\%1;%CP% > > This does not work in windows for classpath references. In wind

[dom4j-dev] cp.bat file packaged with dom4j-1.1.zip

2001-12-19 Thread Parker-Combes, William CECOM LRC LEO
The cp.bat file I received with dom4j-1.1.zip needs to be modified. The cp.bat file has one line: set CP=%CD%\%1;%CP% This does not work in windows for classpath references. In windows starting the relative path with a slash will start you at the root of the drive you're on, rather than look fo

Re: [dom4j-dev]

2001-12-19 Thread James Strachan
The easiest way is to use the selectNodes() method to find all the elements (or their text nodes) and then extract the text from each of those. e.g. List list = myXPath.selectNodes(myDocument); for (Iterator iter = list.iterator(); iter.hasNext(); ) { Node myNode = (Node) iter.next(); St

[dom4j-dev]

2001-12-19 Thread Marc.Schlueter
Hi! Me again :-) When I'm using xpath looking for a certain Attribute which value is a Bag-Type similiar to this XML-extract: ... Value1 Value2 Value3 ... I receive by using: ... myNode = myXPath.selectSingleNode(myDocument); String x = my

Re: [dom4j-dev] Another XPath-question

2001-12-19 Thread James Strachan
Thats correct Jim. This page describes the changes that have been added since the 1.1 release... http://dom4j.org/todo.html James - Original Message - From: "Jim Wissner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, December 17, 2001 4:10 PM Subject: Re: