While I entirely agree with Michael's conclusions -- that (a) hacking the
source representation of an XML document is just asking for trouble and (b)
that there really are a lot of tools around for people who already know perl
and want to use perl to cope with XML -- I think that learning to use XSLT
is a better route for those who already know XML and want to do some
processing of it beyond just making it look nice. Once you've got your
head round it, XSLT is simply light years away from the kind of bit
twiddling and mode mungeing that characterizes perl programming.
Ooops, I hope I haven't ignited a "which programming language rules"
> -----Original Message-----
> From: TEI (Text Encoding Initiative) public discussion list
> [mailto:[log in to unmask]]On Behalf Of Michael Beddow
> Sent: 08 July 2003 17:18
> To: [log in to unmask]
> Subject: Re: XML element/attribute "concordance" generator?
> my main point is that XML processing really requires XML-savvy tools and
> that Perl programmers now have a large boxful, with plenty of
> advice on how
> to make effective use of them. So that Perl hacking and fully XML-aware
> processing are no longer worlds apart, bringing such processing
> into the ambit of any scholars who are not averse to doing a little
> Michael Beddow