This creates an XmlDocument and a root element.
Example Usage:
<CreateXmlDocument Name="Project" XmlVersion="1.0" XmlEncoding="UTF-8"
XmlFile="$(MSBuildProjectDirectory)\$(OutputPath)Test.xml"
NamespaceURI="http://schemas.microsoft.com/developer/msbuild/2003"
/> | Attribute | Description | Required | Type | Direction |
| Name | The name of the root element | True | String | Input |
| NamespaceURI | The default namespaceURI of the root element | False | String | Input |
| Namespaces | an array of prefix:namespace strings | False | String | Input |
| XmlFile | The path and file name of the xml file that will be created | True | String | Input |
| XmlVersion | The version string of the xml document ( default: "1.0" ) | False | String | Input |
| XmlEncoding | The encoding of the xml document ( default: "UTF-8" ) | False | String | Input |
| Standalone | The standalone attribute of the xml document ( default: "" ) | False | String | Input |
| ErrorIfFileExists | Indicates if an error should occur if the file already exists | False | Boolean | Input |