Retrieving values from XML with PowerShell
This PowerShell script looks up and returns results from a mini-database that uses XML as its back-end. For the actual program that edits and returns results graphically, I used Java - this was an exercise in learning PowerShell's XML functions. As can be seen below, the in-built XML handling makes working with XML files very straightforward indeed. The structure of the XML file I'm using to test is: <?xml version="1.0" encoding="UTF-8"?> <recordList> <record id="0"> <title>Some Title</title> <category>Some Cat</category> <notes>Some Notes</notes> </record> <record id="1"> <title>Great Expectations</title> <category>Categorical</category> ...