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

Reply via email to