Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

problem i changeing of attribute position in xml

807597Aug 11 2005 — edited Aug 12 2005
hi ,
when i insert some data in a xml file then the existing code is converted to its own order like/...
//Existing code
<count type="figure_total"  count="3"/>
<count type="table_total" count="6" />
<count type="reference_total" count="69"/>
[\code]

//After Adding a Attribute
<count count="3" col="1" type="figure_total"/>
<count count="6" col="1" type="table_total"/>
<count count="69" col="1" type="reference_total"/>
[\code]

is there any specific reason like arranging automatically in alphabatical order for the attributes.
if yes then why they have the code like
  <?xml version="1.0" encoding="UTF-8"?>
am i making sense.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 9 2005
Added on Aug 11 2005
2 comments
104 views