[CentOS] XML to text

Les Mikesell lesmikesell at gmail.com
Thu Nov 7 22:48:36 UTC 2013


On Thu, Nov 7, 2013 at 4:17 PM, Paul Heinlein <heinlein at madboa.com> wrote:
>
>> Steve,
>>
>> Its pretty easy to do with XSLT...
>
>
> For some definition of "easy," of course... :-)
>
> Still, I'd agree that XSLT is probably your best bet for a long-term
> solution (as opposed to a simplistic regex match via a scripting language)
> because it allows you great future flexibility.

Or perl with XML::Twig which gives you a full featured parser and
complete control of what you do with the parsed value.  If you lean
more towards the java way of doing things than perl, you could use
groovy for fairly painless scripting with fairly complete xml handling
tools.

-- 
    Les Mikesell
      lesmikesell at gmail.com



More information about the CentOS mailing list