XML Representation & Validation of a Context-Free Grammar