Because XSLT scripting is used only with an XSLT style sheet, the AllowXsltScript property is effective only when it is set on a DOM object that represents an XSLT style sheet. When set, it applies to all the ensuing transformations initiated either by the transformNode or transformNodeToObject method or through the XSLProcessor object.
When the style sheet DOM object is cloned, the value of this property is not propagated to the cloned object. You need to reset this property on the clone if desired.
When this property is set to false, the presence of the msxsl:script in an XSLT style sheet does not necessarily generate errors, as long as the script is not invoked in a transformation.