Re: [Boston.pm] [Discuss] perl and xml
Bill Ricker via Boston-pm <[email protected]>
| Newsgroups | gmane.comp.lang.perl.perl-mongers.boston,gmane.org.user-groups.linux.boston.discuss |
|---|---|
| Message-ID | <CAAbKA3XwseYkMdp4u07SdWZEa48B5kjqrYA_SsN8TXrhyegoow@mail.gmail.com> |
On BOSTON-PM-list, Mon, Oct 16, 2017 at 10:54 AM, Morse, Richard E.,MGH <[email protected]> (who was away last week) replied: > Hi! I was just working with some XML, and I’d like to suggest also looking at XML::XPath, > which does allow you to change the text content (and probably all the other attributes) of nodes. > Also, since you can find nodes using XPath, it may be easier to select nodes, rather than walking > through a tree of Perl structures… Yes. XML::XPath is basically what XML::Twig is a light-weight "do the easy 80% of" version of. (If one needs more than Twig, or if Twig docs don't make sense, XPath is obvious next choice.) -- Bill Ricker [email protected] https://www.linkedin.com/in/n1vux _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm