Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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!

Why XML!!!!

843834Jun 15 2001 — edited Jun 20 2001
Doesnt XML duplicate lot of data? I have worked with EDI files and I feel so. See the example below:

<Address>
<Name>Sanjaya</Name>
</Address>

The only meaningful data is Address-Name-Sanjaya!!
For each of the tags Address/Name we duplicate the data again.

Assume I always write a WELL-FORMED XML. Then I know each tag ends before its parent ends, right? So cant I just utilise this knowledge as below:

<Address>
<Name>Sanjaya</>
</>

A depth based stack push-pop will very easiliy be able to produce the same effect as the first case.

Thoughts????????

...........................................
sanjaya_ganesh@yahoo.com
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 18 2001
Added on Jun 15 2001
4 comments
44 views