Updates a XML document using a XPath.
Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)
Syntax
Example
Update a XML element.
Copy Code | |
---|---|
<XmlUpdate Prefix="n" Namespace="http://schemas.microsoft.com/developer/msbuild/2003" XPath="/n:Project/n:PropertyGroup/n:TestUpdate" XmlFileName="Subversion.proj" Value="Test from $(MSBuildProjectFile)"/> |
Remarks
The XML node being updated must exist before using the XmlUpdate task.
Inheritance Hierarchy
Thread Safety
Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
See Also
Documentation version 1.0.0.0.