Is it possible to pars a document with mixture of namespace prefix and plain nodes?
posted 8 years ago
Hi Thank you for reading my post. I have a DTD for my xml files and also an XSD, sometimes I need to use the DTD and sometimes I need to use the XSD file for validation, what I am looking for is: if I use in my document and the document contains some movies with the namespace prefix, is there any way to parse that document without recieving any error?
Validation doesn't have anything in particular to do with namespaces. What I mean by that is that it is possible to use namespaces in documents that don't have a DTD or a schema associated with them. You don't have to validate those documents, either.