Re: [dom4j-dev] XPath and backed List's

2002-06-30 Thread James Strachan
As bob said, the List isn't 'backed' however... From: "Field, Richard" <[EMAIL PROTECTED]> > We've just started using dom4j and really like it a great deal. One thing > has us confused, however. > > We'd like to use the "backed List" concept to replace nodes/elements in the > document by manipul

Re: [dom4j-dev] XPath and backed List's

2002-06-29 Thread bob mcwhirter
> List list1 = document1.selectNodes("//topLevel/someElement"); > > the list doesn't seem 'backed'. > > Is this true? Yes, it is. So far, XPath (and particular Jaxen) doesn't have any sort of 'write' semantics, which would include alterations to the list. The main issue is...

[dom4j-dev] XPath and backed List's

2002-06-29 Thread Field, Richard
We've just started using dom4j and really like it a great deal. One thing has us confused, however. We'd like to use the "backed List" concept to replace nodes/elements in the document by manipulating a List. This works fine when we get the List like this: List list = document.get

[dom4j-dev] XPath and backed List's

2002-06-29 Thread Field, Richard
We've just started using dom4j and really like it a great deal. One thing has us confused, however. We'd like to use the "backed List" concept to replace nodes/elements in the document by manipulating a List. This works fine when we get the List like this: List list = document.get