[XML-SIG] I am confused...
Roman Suzi
rnd@onego.ru
Sun, 28 Jan 2001 16:05:26 +0300 (MSK)
(for some reason I have not received replies
from the list in my mailbox - but I'll try
to answer on reading Martin's reply from Web-page)
On Sun, 28 Jan 2001, Roman Suzi wrote:
>- are Python XML tools (and which of them?) up to the task of facilitating
>site-generation with bearable speed?
I remember I was doing queries in the form
"/article/author/name"
- and it was so slow... (0.5 - 1 sec per query on Celeron 400)
In my application I need many such queries to fill
the template - that is why speed was unbearable.
Please, tell me if I did it wrong:
- parsed xml-file
- quered each variable in a template-file from the xml-file
- filled template with values found to produce web-page
(some variables go to other pages, for example, content page)
I am trying to learn XML for 2 years already but am
still a newbie in practice.
Anyway, before claiming XML tools for Python slow I need to recheck
with new versions - if there are no objections to the
above scheme. (And what is preferrable tool for queries?
XPath?)
Is there any on-line tutorial (?) or just example code
to learn how to work efficiently with XML from Python?
(Python is my favorite language while Java is not)
I read code from xml.* but it doesn't give me clues
for real usage.
Sincerely yours, Roman Suzi
--
Vote for my design: http://silvermouse.onego.ru/gray.php3?id=0018
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd@onego.ru _/
_/ Sunday, January 28, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "Patience is a virtue, it's just not one of my better virtues" _/