This project is read-only.
Sets an attribute value for an element. If the attribute does not exist, it will be created.

Example Usage:
  <SetXmlElementAttribute XmlFile="$(MSBuildProjectDirectory)\$(OutputPath)Test.xml" 
    Name="Project" XPath="/Project/Import[1]" 

Attribute Description Required Type Direction
Name The name of the attribute to set \ create True String Input
NamespaceURI The namespace URI of the attribute False String Input
Prefix The namespace prefix for the attribute False String Input
XmlFile The path and file name to the xml document True String Input
XPath The XPath used to locate the element which the attribute should be set to. True String Input
Value The value to assign to the attribute False String Input

Last edited Feb 17, 2007 at 5:08 AM by camalot, version 4


No comments yet.