Adding xml:lang and xml:nonamespaceschemalocation to serialized xml

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Using the xsd tool, I serialized an xsd but when I am deserializing back to xml it is missing the following attributes in the topmost element:
xml:lang
xml:nonamespaceschemalocation
How do I add these to the document?
Also, once the schema reference is added, is there a quick way to do a validation against it?
Thanks

View the full article
 
Back
Top