This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
This class uses SAX to parse an XML file and creates XPath expressions for each element encountered. As is mentioned in the code, the algorithm is not correct in all circumstances. The problem was discussed in this Saloon thread.