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

Parsing XML log

From: Giulio Troccoli <giulio.troccoli_at_uk.linedata.com>
Date: Mon, 19 Oct 2009 12:01:58 +0100

In some of my hooks and few scripts I parse the log for information. At the moment this is done in a Korn Shell script and therefore with the plain text log.

I have read many times about using XML logs as the format of the text log may change in future, and so I decided to start working on that. With a lot of effort it may be possible to use the XML log in a Korn Shell script but I didn't even want to go there. I thought it was time to learn some Perl.

So I did, but now I'm confused to which Perl module to use to parse an XML file, and if I need a Perl module for SVN too or not. Since I'm sure many of you does this, would you mind sharing your experience? Any suggestions of tricks would be of course much appreciated.


P.S. I will be using Perl 5.10 with Subversion 1.6.5 and Apache 2.2.13 on a RHEL4 box

Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-19 13:03:22 CEST

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