in reply to Poor Man's XML?

Thank you all for your help.

I think my aversion to learning XML is really an aversion to learning XSLT -- I read a bit of the O'Relly book and it just seemed like page after page of "know how to do a 'for' loop? Well it's possible, though incredibly complicated and wordy, to do in XSLT".

I've been learning Perl and various other things like JavaScript for ages, and I haven't got the room in my brain to start learning a new and forbidding language.

I might try to do it with XML, but not using XSLT, using the module as suggested by Lestrrat.

After all, even if I ended up writing my own really bad parser, just because it's not being read by a formal XML parser, doesn't mean it couldn't be valid XML in case someone else wanted it...
--

($_='jjjuuusssttt annootthheer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;

Replies are listed 'Best First'.
Re: Re: Poor Man's XML?
by rattusillegitimus (Friar) on Jun 27, 2002 at 05:15 UTC

    XSLT isn't quite as bad as it looks at first glance. I haven't seen the O'Reily book myself, but I did manage to get a decent start from the tutorial at W3Schools. I leatned enough to replace some pretty nasty looping structures in some of my scripts with much more elegant (and faster) XSL transforms using XML::LibXML and XML::LibXSLT.

    <xsl:rattus/>