You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Nathaniel Auvil <na...@gmail.com> on 2006/02/09 19:06:16 UTC
including top level element in xml text
How can i have the XmlObject.xmlText() method output the top level elements
for a Class MyType when i do not have the MyTypeDocument instance? And when
i need to do this in a generic fashion where i will not know the exact type
all the time.
for example, i want this:
<mytype>
<name>Tom</name>
<telephone>333-333-3333</telephone>
</mytype>
but i am getting:
<name>Tom</name>
<telephone>333-333-3333</telephone>