Re: [dom4j-user] Add element between elements in a document.

2002-04-25 Thread James Strachan
From: "Soumanjoy Das" <[EMAIL PROTECTED]> > Hi Christian, > > I just tried out your suggestion: > > I created an element and immediately printed the contents of the Document, > > oChild = oDocument.createElement("Guest"); > System.out.println(oDocument.asXML()); > > The output did not show the new

RE: [dom4j-user] Add element between elements in a document.

2002-04-25 Thread Soumanjoy Das
om classes > because they conform with the MS-DOM structure, that's all. > > If you don't mind, I would appreciate some further > clarification on this. > Thanks > Soumanjoy > > > -Original Message- > From: Christian Holmqvist, IT, Posten >

RE: [dom4j-user] Add element between elements in a document.

2002-04-25 Thread Christian Holmqvist, IT, Posten
If you don't mind, I would appreciate some further > clarification on this. > Thanks > Soumanjoy > > > -Original Message- > From: Christian Holmqvist, IT, Posten > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 25, 2002 12:48 PM > To: 'Souman

RE: [dom4j-user] Add element between elements in a document.

2002-04-25 Thread Soumanjoy Das
To: 'Soumanjoy Das'; 'James Strachan'; [EMAIL PROTECTED] Subject: RE: [dom4j-user] Add element between elements in a document. Hi! First of all, I could not even run your example, got the error: java.lang.ClassCastException: org.dom4j.tree.DefaultElement at org.dom

RE: [dom4j-user] Add element between elements in a document.

2002-04-25 Thread Christian Holmqvist, IT, Posten
ent and Document? Cheers Christian Holmqvist > -Ursprungligt meddelande- > Från: Soumanjoy Das [mailto:[EMAIL PROTECTED]] > Skickat: den 25 april 2002 06:58 > Till: 'James Strachan'; [EMAIL PROTECTED] > Ämne: RE: [dom4j-user] Add element between elements in a docu

RE: [dom4j-user] Add element between elements in a document.

2002-04-24 Thread Soumanjoy Das
what .insertBefore() is supposed to do. Have I missed something here...? An explanation would be appreciated... (Here's another one for you James :-). Thanks Soumanjoy -Original Message- From: James Strachan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 8:10 PM To: Christian H

Re: [dom4j-user] Add element between elements in a document.

2002-04-23 Thread James Strachan
(). James - Original Message - From: "Christian Holmqvist, IT, Posten" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 2:32 PM Subject: [dom4j-user] Add element between elements in a document. > Hi > > I have a small problem with ad

[dom4j-user] Add element between elements in a document.

2002-04-23 Thread Christian Holmqvist, IT, Posten
Hi I have a small problem with adding elements. I got a document that looks something like this: Doc | --- Header | | --- Footer On the document handler class (my class) there is a method called add element. This element should be placed in between the header and the footer i.e: Doc