Thanks. JXA is over my head. I only learned some JS.
I can get the XML file in AppleScript from here:
But I don't know how to move forward.
I did some search and saw AppleScript can do XML search. But I have not made a successful attempt yet.
A regex search might also serve my need. It'll involve sed in shell script. I'm a novice to all of them. Dan's JXA example is excellent. I have not found a similar example in AppleScript.