[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r23030 - in trunk: . contrib/client-side/svn-merge-vendor

From: Anthony Ogier <aogier_at_iorga.com>
Date: 2007-01-17 17:41:32 CET

Blair Zajac a écrit :
> 2) Is there a reason why this script is in its own directory, since
> there's only one file. Can you move it up a level using 'svn mv' and
> delete the subdirectory?
Yes, I followed the procedure in the mail from David Glasser on 4th
december 2006. I'll move it one level up !
> 3) I cannot run the script since it's looking for the lxml module?
> Could you provide in the file where to get this module from?
Yes I'll provide the URL to download lxml module in the script.
> Actually, even better, would be to switch the code over to the
> elementtree XML parsing module which is now standard in Python 2.5 and
> is available for Python 2.1 and greater? This will make it more
> easily usable in the future, since I don't have to install another set
> of XML bindings.
Actually, I've searched a Python XML API which were really simple to
use, and the best "python spirit" as it can. lxml is a really great XML
API for python because when you have an XML node wrapped by lxml, you
can directly access a property with object.property ... and XPath
feature is really simple to understand, look at
http://codespeak.net/lxml/api.html#id9 .
I know that it is not standard in Python distribution, but I found the
standard XML libs quite not simple to use.
But as far as I remember, I've built my code in order to change the
function which retrieve the nodes from the XML files.

I hope I've done the best ...

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 19 09:58:49 2007

This is an archived mail posted to the Subversion Dev mailing list.