  					}
  					else
  					{
-@@ -505,10 +509,12 @@ namespace XMLUtils
+@@ -505,10 +513,12 @@ namespace XMLUtils
  						{
  							if(child->getNodeType() == DOMNode::ELEMENT_NODE)
  							{

 	public:
 		XMLElementImpl(DOMElement* element)
 		{
@@ -483,21 +486,22 @@ namespace XMLUtils
 				return GetTextValue();
 			}
 			string xml = "";
-			DOMWriter* writer = NULL;
+			DOMLSSerializer* writer = NULL;

===================================================================
--- libamt.orig/intel/src/XMLUtils_XRCS.cpp
+++ libamt/intel/src/XMLUtils_XRCS.cpp
@@ -13,7 +13,7 @@
 #include <xercesc/util/PlatformUtils.hpp>
 #include <xercesc/util/XMLString.hpp>
 #include <xercesc/dom/DOM.hpp>
-#include <xercesc/dom/DOMWriter.hpp>
+#include <xercesc/dom/DOMLSSerializer.hpp>
 #include <xercesc/dom/DOMImplementationRegistry.hpp>
 #include <xercesc/dom/DOMImplementationLS.hpp>
 #include <xercesc/util/OutOfMemoryException.hpp>
@@ -23,6 +23,9 @@
 #include <xercesc/util/XMLUni.hpp>
 #include <xercesc/framework/MemBufFormatTarget.hpp>
 
+
+#include <iostream>
+
 XERCES_CPP_NAMESPACE_USE
