axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eran Chinthaka" <chinth...@opensource.lk>
Subject RE: [Axis2]Fwd: Doubt in OM
Date Wed, 23 Mar 2005 04:58:48 GMT
Correct !!!

> -----Original Message-----
> From: jayachandra [mailto:jayachandra@gmail.com]
> Sent: Wednesday, March 23, 2005 10:53 AM
> To: axis-dev@ws.apache.org; chinthaka@opensource.lk
> Subject: Re: [Axis2]Fwd: Doubt in OM
> 
> element.detach()  removes element info item also along with all its
> children, isn't it?
> 
> Jayachandra
> 
> On Wed, 23 Mar 2005 10:02:18 +0600, Eran Chinthaka
> <chinthaka@opensource.lk> wrote:
> > Hi Jayachandra,
> >
> > If I got you correct, you want to delete text children of an OMElement,
> not
> > all the children right ??
> >
> > Child Text is considered as Child elements in OM. So you have to follow
> the
> > same way. But if one requires a method remove only test, its just a
> metter
> > of detaching children which are of type OMText of the element.
> >
> > If what you meant was to remove all the children of an OMElement, the
> > element.detach() method will do.
> >
> > Regards,
> > -- Chinthaka
> >
> > >
> > >
> > > Hi Axis2 developers,
> > >
> > > Currently is there a way in which one can erase the contents of an
> > > OMElement. Just the contents and not the whole info item. This is a
> > > typical requirement for situations like roll back in case, some
> > > malformation happens.
> > >
> > > Jayachandra
> >
> >
> 
> 
> --
> -- Jaya




Mime
View raw message