[XML-SIG] Fool-proof XML examples, additional tutorials?

Roman Suzi rnd@onego.ru
Sat, 28 Apr 2001 13:52:37 +0400 (MSD)


>Hello all,


>I am very impressed with the SAX2 search utility which I found on the latest
>python howto, I am searching and building XML again and again!!!  However, I
>seem to have hit a wall doing anything else but searching for XML bits in
>python and the DOM howto part is far to unambitious as well!!!
>
>Listening to you guys go on about projects sounds very promissing but is
>also difficult to follow at times.  Sure, if you make python XML foolproof
>then only fools would use it

I am not experienced in XML and have not used it for more than play,
but I feel I need it in some places.

XML is a data model, as strings are for unmarked text. But XML
has more dimensions than string and more complex structure,
allowing it to model much more complex things. (while XML
code could could be represented by strings).

And look, string type has a
- built in syntactic support
- after decades of development, string operations are more or less
determined (find, sub, strip, +, ...).

After awhile, XML will no more complex to handle than strings or lists or
arrays, when it will be clear what is the right way. (Look at Numeric
Python for examples that multidimensional arrays could be very versatile).

For now, operations on XML are organized in several ways and that is
fixed with all that thingies: DOM, SAX, XSLT, XPath, XQL, ...

And XML-work is (IMHO) more complex than SQL one (due to less
regular (richer) internal structure than that of relational tables.)

So, for now we must experiment, and wait when X* will become as foolproof,
as relational databases are today ;-) Do you remember pre-SQL DBs?
FoxBase, for example?


Roman.

P.S. I am no specialist in XML, so probably I have some points wrong. But
its my opinion for now.