You just use nested <structure> elements with a name but no field for this purpose:

 <structure name="tag1">
   <structure name="tag2">
     <value name="name" field="nameField"/>
   </structure>
 </structure>

 - Dennis

[EMAIL PROTECTED] wrote:



Hi,

i read tutorials, but i did'nt found an answer to my question. So, what i would like to do is while parsing a xml document, i would like to be able to bypass some tags and set attributes on a lower object.

Example:

<tag1>
        <tag2>
                <name>bob</name>
        </tag2>
</tag1>

The object a would like to be created is an object named TAG1 with an attribute name that is equal to bob.

Is it possible, or i need to create an object TAG1 which containt an object TAG2 with an attribute name equal to bob.

Thanks

Nic



------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to