NSXMLParser and DTD validation on iOS

I need to use an NSXMLParserXML file to parse, but I need to check it against DTD. What is the best practice? Thank.

+3
source share
1 answer

Convert the DTD to an XML Schema, then generate code that provides validation. See this and then this question.

Edit: Added DTD-to-XSD link.

0
source

All Articles