Skip to content

v0.0.1

Pre-release
Pre-release

Choose a tag to compare

@rmkane rmkane released this 26 Feb 20:44
· 5 commits to main since this release

This is the initial release.

Features

The following functions should be available:

Update XML file:

err := xpath.AddByXPathFromFile(inputFile, outputFile, exrp, key, value)
err := xpath.UpdateByXPathFromFile(inputFile, outputFile, exrp, value)
err := xpath.RemoveByXPathFromFile(inputFile, outputFile, exrp)

Update XML string:

updatedXML, err := xpath.AddByXPathFromString(xmlStr, exrp, key, value)
updatedXML, err := xpath.UpdateByXPathFromString(xmlStr, exrp, value)
updatedXML, err := xpath.RemoveByXPathFromString(xmlStr, exrp)