function xslBehavior(){
   this.xslTransform = function (xmlfull, xsldoc, xmldoc){
      XMLRs2 = xmlfull.cloneNode(true);
      XMLRs2.documentElement.transformNodeToObject(xsldoc.documentElement, xmldoc.XMLDocument);
      XMLRs2 = null;
   }
   
   this.setNodeAttribute = function(xslDoc, strNode, strAttribute, strValue){
      xslNode = xslDoc.XMLDocument.documentElement.selectSingleNode(strNode);
      xslNode.removeAttribute(strAttribute); 
      xslNode.setAttribute(strAttribute, strValue);      
   }
}
