OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-architecture message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: efficient XML


<matt>
Hierarchy makes sense, recursion doesn't.  Recursion often auses more
memory to be used during a parse because information relating to an
element's extended family needs to be kept.  Of course, a hierarchy can
be recursive, which is good for a DOM-based approach (finding the value
of an element in a logical order), but it is less useful to an event
based parser.
</Matt>

I am not sure what you mean with recursion:

<!ELEMENT a (b, c, a)>

is not DTDable, dont know if you can specify this in Shemas, but I dont
think so.... what is possible is:

<!ELEMENT BuyerParty Address>
<!ELEMENT SellerParty Address>
<!ELEMENT Parties (BuyerParty, SellerParty)>
<!ELEMENT Address ....

and this is very usefull for Code reuse.. thats the EDIFACT Aproach and
the OO-EDI Aproach, btw.

Greetings
Bernd


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Search: Match: Sort by:
Words: | Help


Powered by eList eXpress LLC