Error in documentation

parser.toXml does not take an options parameter.