if (roleListItem.getOSVersion() != null) { Element osVersionElement = requestDoc.createElementNS("http://schemas.microsoft.com/windowsazure", "OsVersion"); osVersionElement.appendChild(requestDoc.createTextNode(roleListItem.getOSVersion())); roleElement.appendChild(osVersionElement);
if (roleListItem.getOSVersion() != null) { Element osVersionElement = requestDoc.createElementNS("http://schemas.microsoft.com/windowsazure", "OsVersion"); osVersionElement.appendChild(requestDoc.createTextNode(roleListItem.getOSVersion())); roleElement.appendChild(osVersionElement);