thank you all, i found out a way( work around) for that.
regards --- Jeong Ahn Lee <[EMAIL PROTECTED]> wrote: > Hi all, i have an xml document like below > > <SOAP-ENV:Envelope> > <SOAP-ENV:Header> > <ABC>aa</ABC> > <BBC>bb</BBC> > <CNN>bb</CNN> > </SOAP-ENV:Header> > <SOAP-ENV:Body>this is body</SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > in that document, how can i insert an element( say > <FOX> ) > after <CNN> element, with in the <SOAP-ENV:Header> > element. > if it was before <CNN> i could have used > > public Node insertBefore(Node newChild, > Node refChild) > throws DOMException > > this method which is there org.w3c.dom.Node > interface, > there is no method called insertAfter(...), so i > want > to know is there any workaround for that. > > regards > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
