[jdom-interest] addElement and DTD...
Jason Hunter
jhunter at servlets.com
Sun Nov 10 13:42:37 PST 2002
Nope, things go where you put them.
-jh-
Padhu Vinirs wrote:
>
> If I call addElement(), is there a way to maintain the location of the
> element as defined by the DTD ? For example,
>
> <!ELEMENT account ( name, address )>
>
> Then if there is a "accountElement", which already has a "name" child
> element, then will a call like
>
> accountElement.addElement(addressElement);
>
> create the addressElement after the nameElement, like,
>
> <account>
> <name>.....</name>
> <address>....</address>
> </account>
>
> instead of
>
> <account>
> <address>...</address>
> <name>...</name>
> </account>
>
> Thanks
>
> -- padhu
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list