Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] [Boston.pm] perl and xml



On BOSTON-PM-list,  Mon, Oct 16, 2017 at 10:54 AM, Morse, Richard
E.,MGH <REMORSE at mgh.harvard.edu>
(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
bill.n1vux at gmail.com
https://www.linkedin.com/in/n1vux



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org