I think using XmlCursor, you can call getTextValue() on the
<Descriptions> node.  This will basically get you all the text values
that are dangling between this node's child nodes.

________________________________

From: Ezequiel Puig [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 08, 2007 8:15 AM
To: dev@xmlbeans.apache.org
Subject: How to get the info



Hi,

 

I am really new in XMLBeans, so probably this is an easy question:

 

I have the following piece of XML:

 

<Descriptions>

        <Description Role="Summary">

          <Title>Title text</Title>

          How do I acces here ??

          <Media>

            <URL>http://www.google.com</URL>

          </Media>

        </Description>

<Descriptions>

 

XMLBeans has created for me methods like getDescription(), gerRole,
getTitle, getMedia, etc. But my prolem is that i don't know how to get
the piece of text "How do I acces here ??" ??




Reply via email to