The module takes form fields given in a specialised format, and outputs them to XML based on that format. The idea is that you can create forms that define the resulting XML at the back end. Also supported are attribute form items, that allow creation of element attributes. Also possible are relative paths. If unsure I recommend using full paths, relative paths are great for repeating groups of data, but weak for heavily structured data.
Attributes go in square brackets.
The XML is searched for the queries and it returns a list of tuples that are the query and the match. It's easier to demonstrate this with an example. If a wildcard is specified the results will have the actual value substituted with the wildcard. You can't set an attribute and a value for that element, it's one or the other. You can use this module in place of CGI.pm, since it's a subclass.