Background
I'm using (or trying to use) XPath with the atc0005/go-lockss project. That project processes a LOCKSS XML configuration file served up by a central network configuration server and then attempts to verify connectivity from the current node (where the app is running) to all peer nodes.
As part of this work, I've stumbled my way through using the https://github.com/antchfx/xmlquery package to process the XML file and retrieve the values I'm looking for. I thought I understood what was happening, but as atc0005/go-lockss#21 notes, I'm not getting the expected results.
In short, there is a bug with the application and I'm not (yet) knowledgeable enough to fix it properly. Thankfully the app's assumptions work as intended for two of the LOCKSS networks that I've tested against, but more work is needed to properly parse the XML file to work with other networks where group-based peers are configured.
Parsing that file will require a better understanding of XPath than I currently have.
What I've found
Guides
Videos
Tools
Background
I'm using (or trying to use) XPath with the atc0005/go-lockss project. That project processes a LOCKSS XML configuration file served up by a central network configuration server and then attempts to verify connectivity from the current node (where the app is running) to all peer nodes.
As part of this work, I've stumbled my way through using the https://github.com/antchfx/xmlquery package to process the XML file and retrieve the values I'm looking for. I thought I understood what was happening, but as atc0005/go-lockss#21 notes, I'm not getting the expected results.
In short, there is a bug with the application and I'm not (yet) knowledgeable enough to fix it properly. Thankfully the app's assumptions work as intended for two of the LOCKSS networks that I've tested against, but more work is needed to properly parse the XML file to work with other networks where group-based peers are configured.
Parsing that file will require a better understanding of XPath than I currently have.
What I've found
Guides
Videos
plants.xmlfile used in videoTools