Ejemplo n.º 1
0
        internal SystemXsltExecutable(XslCompiledTransform transform, SystemXsltProcessor processor, Uri staticBaseUri)
        {
            this.transform = transform;
             this._Processor = processor;
             this._StaticBaseUri = staticBaseUri;

             this.possiblyXhtmlMethod = this.transform.OutputSettings != null &&
            this.transform.OutputSettings.OutputMethod == XmlOutputMethod.AutoDetect;

             if (!CLR.IsMono) {
            this.command = commandField.GetValue(this.transform);
             }
        }
Ejemplo n.º 2
0
        internal SystemXsltExecutable(XslCompiledTransform transform, SystemXsltProcessor processor, Uri staticBaseUri)
        {
            this.transform      = transform;
            this._Processor     = processor;
            this._StaticBaseUri = staticBaseUri;

            this.possiblyXhtmlMethod = this.transform.OutputSettings != null &&
                                       this.transform.OutputSettings.OutputMethod == XmlOutputMethod.AutoDetect;

            if (!CLR.IsMono)
            {
                this.command = commandField.GetValue(this.transform);
            }
        }