Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Parsage de fichier en XML

1 réponse
Avatar
Jérôme
Bonjour je voudrai savoir comment parser un fichier XML afin d'en récupérer
les données en Perl.
Je voudrai utiliser le module XML::Simple mais je ne trouve pas d'exemple
simple et excplicite.
Merci de votre aide.
Jérôme

1 réponse

Avatar
Ronan Le Hy
Jérôme a écrit:
Bonjour je voudrai savoir comment parser un fichier XML afin d'en récupérer
les données en Perl.


"Processing XML with Perl"
http://www.xmltwig.com/tutorial/perl_xml/mtb04_index.html

"Ways to Rome: Processing XML with Perl"
http://xmltwig.cx/perl_survey/ways_to_rome.html

Et pour ne pas laisser Mirod faire lui même de la pub pour XML::Twig :
"Processing XML efficiently with Perl and XML::Twig"
http://xmltwig.com/xmltwig/tutorial/index.html

Je voudrai utiliser le module XML::Simple mais je ne trouve pas d'exemple
simple et excplicite.


Qu'est-ce qui ne vous va pas dans la section
QUICK START
de la doc de XML::Simple ? J'ai peur qu'il soit difficile de faire plus
simple ou explicite.

HTH

--
Ronan

Having said that, now I'm getting that XML feeling. (You know the
one -- "It seemed like a good idea until I thought about it" :)
Dan Sugalski sur p6-i