You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Giulio Troccoli <gi...@uk.linedata.com> on 2009/10/19 11:01:58 UTC

Parsing XML log

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.

Thanks
Giulio

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

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2408910

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].