Re: [dom4j-user] How do I convert a DOM element tree into a DOM4J document

2003-01-07 Thread David D. Lucas
ECT, ITS, AEGON FINANCIAL PARTNERS -Original Message- From: David D. Lucas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 11:37 AM To: Brain, Jim Cc: 'James Strachan'; DOM4J Mailing List (E-mail) Subject: Re: [dom4j-user] How do I convert a DOM element tree into a D

RE: [dom4j-user] How do I convert a DOM element tree into a DOM4J document

2003-01-07 Thread Brain, Jim
Re: [dom4j-user] How do I convert a DOM element tree into a DOM4J document You should be able to create a method for either direction ( based off the code below) that takes in a dom4j element and returns a w3c node by manipulating the org.w3c.dom.Document interface and remove/detach the

Re: [dom4j-user] How do I convert a DOM element tree into a DOM4J document

2003-01-07 Thread David D. Lucas
You should be able to create a method for either direction ( based off the code below) that takes in a dom4j element and returns a w3c node by manipulating the org.w3c.dom.Document interface and remove/detach the first child and return it. The opposite direction would be the same, take in a nod

RE: [dom4j-user] How do I convert a DOM element tree into a DOM4J document

2003-01-07 Thread Brain, Jim
decisions today." (319) 369-2070 (work) SYSTEMS ARCHITECT, ITS, AEGON FINANCIAL PARTNERS -Original Message- From: James Strachan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 12:32 AM To: Brain, Jim; DOM4J Mailing List (E-mail) Subject: Re: [dom4j-user] How

Re: [dom4j-user] How do I convert a DOM element tree into a DOM4J document

2003-01-06 Thread James Strachan
You want to run a W3C DOM into a dom4j document? Try org.w3c.dom.Document w3cDoc = ...; DOMReader domReader = new DOMReader(); Document document = domReader.read( w3cDoc ); James --- http://radio.weblogs.com/0112098/ - Original Message - From: "Brain, Jim" <[EMAIL PROTECT