Can XmlMassUpdate be used to delete an attribute?

Posted by tlianza on Stack Overflow See other posts from Stack Overflow or by tlianza
Published on 2010-04-30T02:25:52Z Indexed on 2010/04/30 2:27 UTC
Read the original article Hit count: 636

For example, I have this line:

<forms loginUrl="/redirecttosignin.aspx" name="NAME_HERE" requireSSL="false" timeout="60" domain=".blah.com" />

And I want to delete the "name" attribute altogether. I know I can do this to blank it:

<forms xmu:key="loginUrl" loginUrl="/redirecttosignin.aspx" name="" />

But, I literally want to get the name attribute out, and leave the other attributes in tact. Couldn't find any examples of that.

Thanks!

© Stack Overflow or respective owner

Related posts about msbuildcommunitytasks

Related posts about msbuild-task