RIX common interface for parsing XML using recursive descent. It merges the 1-pass behavior of SAX with the ease of tree manipulation attributed to DOM. In short, RIX works by allowing client code to provide their production rules for any point in the parse tree.
There are several advantages of RIX compared to DOM and SAX. DOM gives a full snapshot of the document being parsed, while RIX might be useful for when the document can be interpreted in one pass. Meanwhile, RIX lessens the overhead of writing a SAX-based parser, which might lend itself to a solution based on recursive descent anyway.
Be the first to post a review of Recursive Interpretation for XML!