[dom4j-dev] Re: [dom4j-user] XPointer functions?

2001-06-19 Thread James Strachan
Hi Paul From: "Paul Caton" <[EMAIL PROTECTED]> > We are looking at using dom4j in an application that deals with > arbitrary sections of an XML-encoded document. I just wanted to ask, > in the API for XPath, does the phrase "XPath expression" cover only > the functions defined in XML Path Languag

Re: [dom4j-dev] Why do add(...) methods return void?

2001-06-19 Thread James Strachan
  Would people prefer addAttribute? +1In the dom4j model, since you can have an attributeIterator, I see the attributes as "widgets" belonging to the Element, rather than as properties. The "only one value" constraint could be handled with an IllegalAddException, or (preferred)

[dom4j-dev] experimental support for XML Pull Parser in CVS

2001-06-19 Thread James Strachan
I've just checked into CVS some experimental support for the XML Pull Parser. http://www.extreme.indiana.edu/soap/xpp/ I've initially built a PullParserReader in the org.dom4j.io package that behaves pretty much like the SAXReader but uses the XML Pull Parser rather than SAX. I was hoping it mig

Re: [dom4j-dev] Why do add(...) methods return void?

2001-06-19 Thread Thomas Nichols
Good morning James, At 03:00 19/06/2001 +0100, James Strachan wrote: Hi Thomas From: Thomas Nichols This sounds good - though see my comments to James E. re limitations of parseText(). . BTW, why is it "setAttribute" rather than "addAttribute" ?   Actually right now its setAttributeValue(name,