Closed derMart closed 4 years ago
Hi,
README.md states: tXml("<user is='great'><name>Tobias</name><familyName>Nickel</familyName><profession>Software Developer</profession><location>Shanghai / China</location></user>",{simplify:1});
tXml("<user is='great'><name>Tobias</name><familyName>Nickel</familyName><profession>Software Developer</profession><location>Shanghai / China</location></user>",{simplify:1});
however, simplify is not invoked like this. Rather it is invoked by: tXml.simplify(tXml(xmlString));
tXml.simplify(tXml(xmlString));
kind regards Martin
Thanks Martin, for pointing that out. I think it was an old leftover, before I had this option. It is fixed and published, to npm now. Do you think a parseSimplified method would be nice?
parseSimplified
Hi,
README.md states:
tXml("<user is='great'><name>Tobias</name><familyName>Nickel</familyName><profession>Software Developer</profession><location>Shanghai / China</location></user>",{simplify:1});
however, simplify is not invoked like this. Rather it is invoked by:
tXml.simplify(tXml(xmlString));
kind regards Martin