A collection of prefix=namespace definitions used to query the XML documents
Namespace: MSBuild.Community.Tasks.Xml
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Property NamespaceDefinitions As ITaskItem[] |
C# |
---|
public ITaskItem[] NamespaceDefinitions { get; set; } |
C++ |
---|
public property ITaskItem[] NamespaceDefinitions sealed { array<ITaskItem>^ get(); void set(array<ITaskItem>^ value); } |
J# |
---|
/** property */ public ITaskItem[] get_NamespaceDefinitions(); /** property */ public void set_NamespaceDefinitions(ITaskItem[] value); |
JScript |
---|
public function get NamespaceDefinitions() : ITaskItem[] public function set NamespaceDefinitions(value : ITaskItem[]); |
Example
Defining multiple namespaces:
Copy Code | |
---|---|
<XmlMassUpdate ContentFile="web.config" SubstitutionsRoot="/configuration/substitutions" NamespaceDefinitions = "soap=http://www.w3.org/2001/12/soap-envelope;x=http://www.w3.org/1999/XSL/Transform"> /> |
See Also
Documentation version 1.0.0.0.