Removes a node from an a parent node.

Example Usage:
  <RemoveXmlNode XmlFile="$(MSBuildProjectDirectory)\$(OutputPath)Test.xml" 
    RemoveNodeXPath="Import" ParentNodeXPath="/Project" /> 

The example above will remove all Import elements from the root Project element in Test.xml

Attribute Description Required Type Direction
XmlFile The path and file name of the xml document True String Input
ParentNodeXPath The XPath to find the parent node(s) True String Input
RemoveNodeXPath The XPath to find the node(s) to be removed True String Input

Last edited Feb 17, 2007 at 3:46 AM by camalot, version 1

Comments

No comments yet.