Reads RELAX NG grammar from RNGOM and builds the model for TXW.