I am using xmllint --schema option to validate my XML that looks like this
True
In my
If you're on Linux, or have cygwin available on Windows, you can run the input XML through a simple sed script that will replace with , like so:
cat | sed 'sXTrue Xtrue X' | xmllint --schema -
If you're not, you can still use a non-validating xslt pocessor (xalan, saxon etc.) to run a simple xslt transformation on the input, and only then pipe it to xmllint.
What the xsl should contain something like below, for the example you listed above (the xslt processor should be 2.0 capable):