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 <[EMAIL PROTECTED]> 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
