XML – Node.js XSD verification function?

I am building a service and need to verify XML files that follow a given pattern. When reading the node module list carefully in https://github.com/joyent/node/wiki/modules , I have seen several XML parsing solutions, but at first glance, none of them seem to support XSD.

Am I missing other solutions? Or, I’m considering implementing a node proxy for the functionality of an external library. The following question page has several good suggestions (Xerces and Xmllint are interesting). Is there anything else that would be better?

I finally write XML verification through DTD by invoking the command line xmllint program. What I see The maturity of the XSD verification library is not full of confidence, because they seem to be incomplete in most cases.

I am building a service that needs to verify that it follows a given pattern XML file. When reading the node module list carefully in https://github.com/joyent/node/wiki/modules, I saw several XML parsing solutions, but at first glance, none of them seem to support XSD. < p>

Am I missing other solutions? Or, I’m considering implementing a node proxy for the functionality of an external library. The following question page has several good suggestions (Xerces and Xmllint are interesting). Is there anything else that would be better?

I finally wrote XML verification through DTD by calling the command line xmllint program. I am not confident in the maturity of the XSD verification library I have seen. Because they seem to be incomplete in most cases.

Leave a Comment

Your email address will not be published.