Lists Home |
Date Index |
At 9:21 AM +0500 1/14/02, Elliotte Rusty Harold wrote:
>At 2:40 PM +0100 1/14/02, Jens Jakob Andersen, PDI wrote:
>>This is one of the hypes about XML, that I'd like to defuse. XML is
>>not any more self-describing than CSV files. E.g.
>> What is this?
>No, because nobody would actually do that. What you've demonstrated
>isn't even XML. (You can't begin an XML name with a number.) Even if
>you fixed that, this is not how XML is written in practice. Names are
>not chosen randomly. They have meaning which can be leveraged.
I have had the opportunity to teach ERP to undergrad business students, and
used SAP as the "typical" system. I would demonstrate certain ERP features
using examples from a functional SAP system. One lesson I liked to teach is
how SAP uses IDOCs (intermediate documents) to move data between foreign
systems, be it other SAP systems, or third party applications. IDOCs are
XML documents validated against XSD. SAP has a vast array of IDOC
definitions available for anyone to view at their leisure, located at
http://ifr.sap.com/catalog/query.asp, look for IDOC message types. I use
the IDOC as it is a commercially viable and acceptable XML document.
I happen to like their OILORD02 IDOC, which is used in pipeline
transactions, and use it for teaching purposes. Below I have attached what
I would consider a minimum essential completed OILORD02 IDOC. I think I
might have filled in about 1% of that document, according to its XML schema.
Notice the names of the elements. I suspect that most are abbreviations
from German, and some are in English. However, there are names (such as
E1EDK01) that match the "Cobol-oriented" names of the records stored
internally in SAP.
The main point here is that I tell my class that even though this is
self-describing XML, there are companies out their that are extending XML
for their own purposes, so do not expect that the label XML means obviously
self-describing, user friendly documents. One may still need a cheat sheet
to work their way through any given XML document.
<STRAS>100 Corporate Plaza</STRAS>
<STRAS>100 Industrial Park</STRAS>