News

In an earlier blog entry , I wrote about using Trang to generate XML Schema from an XML source document.
We have an XSD with encoding set to one value and we can validate XML files with different encodings successfully (our XSD has encoding utf-8 and various input XML files have utf-8, windows-1252 ...
It's not mandatory but you can always create a schema definition file known as a XSD file to validate the XML file against a particular schema. By doing so, this enforces the XML to meet certain ...
I think it would be easier just to manually create your XML file based off your XSD and then from there you can copy and create nodes based off of the existing nodes using the XMLDocument object.