[PLUG] Broken Script, Help Please

Paul Heinlein heinlein at madboa.com
Thu Jul 17 15:54:34 UTC 2025


On Thu, 17 Jul 2025, Eldo Varghese wrote:

> I second the xmlstarlet approach, why bother creating one's own (crude)
> parser when xml parsers already exist.

Another vote for this approach! For anything other than a one-off 
operation, using an XML parser is the smart move.

Developers have spent untold labor years getting their browsers and 
parsing libraries to work with malformed html or xhtml. You're best 
off taking advantage of that work, even if it means a bit of a 
learning curve.

-- 
Paul Heinlein
heinlein at madboa.com
45°22'48" N, 122°35'36" W


More information about the PLUG mailing list