Just found a sample code, which works fine, but I have an error message related to prefixes:
X-NODEREF or X-DOCUMENT LOAD got an error: FATAL ERROR: file '<filename>.xml', line '1', column '83', message 'The prefix 'xsdLocal1' has not been mapped to any URI'.
The input file looks like...