title: Windows 8 javascript change the attribute of branding to name
body: <p>I have a windows 8 application updating tiles periodically. In the tile update i wish the logo to be replaced with the Application name.Did a analysis on the same and found the attribute value"branding" to be changed to name.But setAttribute method is throws "0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'setAttributes'"</p>
  
  <p>Below is the code snippet placed in default.js</p>
  
  <pre><code>var squareTileXml = Notifications.TileUpdateManager.getTemplateContent(Notifications.TileTemplateType.tileSquareText04);
  var tileattributenode = squareTileXml.getElementsByTagName("binding");
  tileattributenode[0].setAttributes("branding","name");
  </code></pre>