[dom4j-user] XMLTableModel Update capability

2002-10-03 Thread John Sharp
Hello, Some time back there was discussion on making the document updateable throught the XMLTableModel. Is any work being done on this ? I'm about to start a project where I need to edit XML through swing table/tree components. I may be able to contribute - if pointed in the right direction.

Re: [dom4j-user] XMLTableModel Update capability

2002-10-03 Thread John Sharp
nawk nawk, Who's there ? Aho, Weinberger and Kerninghan. John Sharp wrote: > > Hello, Some time back there was discussion on making > the document updateable throught the XMLTableModel. > Is any work being done on this ? > > I'm about to start a project wher

[dom4j-user] XMLTableModel data types

2002-10-10 Thread John Sharp
Hi, I've started looking at the update requirements for XMLTableModel and came across what may be an additional enhancement request. The XMLTableModel does not appear to easily support Boolean types - either directly from the document or via one of the helper XMLTableColumnDefinition() classes.

[dom4j-user] Xpath for table model node update

2002-11-15 Thread John Sharp
Hi, I'm following from an earlier suggestion to make XMLTableModel updates. The method was to use XPath to map back from the table row/col to the Node at this location in the document. The following code does update the document (via the node handle) but at the wrong place - always at the secon

Re: [dom4j-user] Xpath for table model node update

2002-11-15 Thread John Sharp
DefaultElement)oo).node(0); System.err.println(n); n.setText(o.toString()); } } John Sharp wrote: > > Hi, > I'm following from an earlier suggestion to make XMLTableModel > updates. The method was to use XPath to map back from the table > row/col to the Node at this

Re: [dom4j-user] Creating node from XPath

2004-06-08 Thread John Sharp
Christian, DocumentHelper.makeElement(Branch start, String xpath) appears to do what you need. John. Christian Niles wrote: I'm having a bit of difficulty remembering where I saw a function that would create nodes based on an XPath. For example, if I had an input path of '/html:html/html:head/htm

[dom4j-user] TreeTable or Nested Table editor

2004-06-18 Thread John Sharp
Can anyone suggest a JAVA XML editor which represents the data as a "TreeTable" or "NestedTable" either commercial or freeware. I was able to make use of the dom4j XMLTableModel to provide an editable table, but I now have more complex XML data which is "nested table" or "TreeTable" in nature and I