You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Jakub Kahovec <j....@imperial.ac.uk> on 2005/02/16 11:34:39 UTC

how to get xml text of the element without parent nodes

Hi,
is there any way how to get xml text of the element without parent nodes 
? I've already tryied to set various XmlOptions attributes but I 
couldn't get rid of the parent nodes at all.

For example I've got following element

<itemBody>
   <h1> Hello </h1>
    <p> How are you </p>
</itemBody>

and i'd like to get xml text of the element

   <h1> Hello </h1>
    <p> How are you </p>


Any ideas ?

Thanks so much.

Jakub

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org