Just an idle thought here… if wxWindows were to add some
basic XML parsing/creation tools to the mix (kinda like they already do
for databases &c), wxPython would probably gain another bunch of
converts. Reason being is that the current Python XML stuff is not
very good (difficult to install, almost completely
undocumented).
···
–
David Priest – WritersBlock Technical Communications
Workplace Documentation, Manuals, Process Improvement
250 542-5208
www.sfu.ca/~priest
* David Priest
Reason being is that the current Python XML stuff is not very good
(difficult to install, almost completely undocumented).
This will hopefully change with Python 2.0, which will include expat
and SAX 2.0 by default. Documentation has not yet been written, but
will probably be over the next few days.
--Lars M.
···
_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users
* David Priest
>
> Reason being is that the current Python XML stuff is not very good
> (difficult to install, almost completely undocumented).
The situation is better than one might think:
- The only Problem when installing PyXML on 1.5.2 is, that there is
no path to the XML folder.After that, no problems occured to me.
- The Lack of documentation is no problem since the naming of all
objects and methods is a standard for both DOM and SAX -
except for some underlines and Capitals.I was able to convert several
hundreds of lines of C++ code under Xerces to PyXML without many
changes to the calls.Conclusion: Any documentation is sufficient.
- Big problems occur, once two different XML libraries are used
frequently
in your code since the tree cannot be transferred from one library to
the other. It is better if we keep that can of worms tightly shut. (This
is definitely a problem, once you work with external C++ libraries-
Xerces is very fine for writing pure C++ Applications, but you cannot
use it under Python- Result: much work)
Ralf
···
_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users
Check out ‘XML Processing with Python’ by Sean McGrath. He demonstrates and explains why Python is an excellent tool for XML parsing. If you don’t want to buy the book check out his website www.pyxie.org.
Jethro
···
-----Original Message-----
From:
wxpython-users-admin@lists.sourceforge.net [mailto:wxpython-users-admin@lists.sourceforge.net]On Behalf Of David Priest
Sent: Sunday, September 24, 2000 7:23 AM
To:
wxpython-users@lists.sourceforge.net
Subject: [wxPython] XML
Just an idle thought here… if wxWindows were to add some basic XML parsing/creation tools to the mix (kinda like they already do for databases &c), wxPython would probably gain another bunch of converts. Reason being is that the current Python XML stuff is not very good (difficult to install, almost completely undocumented).
David Priest – WritersBlock Technical Communications
Workplace Documentation, Manuals, Process Improvement
250 542-5208 www.sfu.ca/~priest