Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > unordered elements in DTD example...bogus?

Thread Tools

unordered elements in DTD example...bogus?

Posts: n/a
I found an article (see link below) that states that xml elements can
be order independent by removing the commas in the DTD.

Ex: (notice no comma between NAME and EMAIL)

In this case, we expect to see XML along the lines of:
<NAME>Jim Sanger</NAME>
<EMAIL>(E-Mail Removed)</EMAIL>

Alternatively, the following code would be valid:
<EMAIL>(E-Mail Removed)</EMAIL>
<NAME>Jim Sanger</NAME>

I have not found any other articles supporting this. All others state
to use either attributes, or create permutations.

Is this a bogus article?
Reply With Quote
arnold m. slotnik
Posts: n/a
      01-28-2004 Removed) (Ha) wrote in
news:(E-Mail Removed) om:

> Is this a bogus article?
> order.html

Absolutely bogus.

Falls under the heading of "when in doubt, make stuff up".

a. m. slotnik
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
XSD unordered sequence with undefined elements ignored klikic XML 2 01-15-2007 01:52 PM
Unordered tree to store elements of a parenthesized expression Kaushik Java 5 01-08-2007 07:42 AM
Mixing ordered and unordered elements yann XML 1 08-19-2005 09:43 PM
How to specify DTD to DTD.getDTD for DocumentParser? Ronald Fischer Java 4 03-17-2005 09:37 AM
Removing the dtd name when using print(...) on the dtd generated class Joseph Tilian Java 0 12-21-2004 02:58 PM