You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by dave <ce...@yahoo.com> on 2008/02/27 22:58:56 UTC
endElement in XmlCursor??
I see beginElement here. How do you end an Element
when you're trying to construct an XML instance?
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
Re: endElement in XmlCursor??
Posted by dave <ce...@yahoo.com>.
for e.g. am trying to construct a simple example below
using XmlCursor:
<root>
<a b="x"/>
<z ver="4">
<d test="yes">
<e/>
</d>
</z>
</root>
I could only use push/pop along with other regular
apis to construct this instance using Cursor. Push/Pop
for each element construction looks too verbose (
push/beginElement/insertAttr/pop like sequence).
Is there any efficient way? sample code would help.
by the way, am trying XmlCursor for the first time
now.
-D
--- dave <ce...@yahoo.com> wrote:
>
> I see beginElement here. How do you end an Element
> when you're trying to construct an XML instance?
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org