AXMLStackDocument Doc; // ANSI version
Doc.pushElement("SOAP-ENV:Envelope",
"http://schemas.xmlsoap.org/soap/envelope/");
Doc.top().createAttribute("SOAP-ENV:encodingStyle") =
"http://schemas.xmlsoap.org/soap/encoding/";
Doc.top().createAttribute("xmlns:TS") = "http://www.time.gov/";
Doc.pushElement("SOAP-ENV:Header");
Doc.pop();
Doc.pushElement("SOAP-ENV:Body");
Doc.pushElement("TS:GetCurrentTimeRequest");
Doc.pushElement("TimeZone") = "Eastern";
Doc.popAll(); // Pops off all remaining nodes