Sha256: 96a3b28a43bf542a35def295ec26b9b42d8cd54ca27540c350a5c78a110f1407

Contents?: true

Size: 880 Bytes

Versions: 11

Compression:

Stored size: 880 Bytes

Contents

/**
 * @author thatcher
 */

$w.__defineGetter__("XSLTProcessor", function(){
    return new XSLTProcessor(arguments);
});

var XSLTProcessor = function() {
    this.__stylesheet__ = null;
};
__extend__(XSLTProcessor.prototype, {
    clearParameters: function(){
        //TODO
    },
    getParameter: function(nsuri, name){
        //TODO
    },
    importStyleSheet: function(stylesheet){
        this.__stylesheet__ = stylesheet;
    },
    removeParameter: function(nsuri, name){
        //TODO
    },
    reset: function(){
        //TODO
    },
    setParameter: function(nsuri, name, value){
        //TODO
    },
    transformToDocument: function(sourceNode){
        return xsltProcess(sourceNode, this.__stylesheet__);
    },
    transformToFragment: function(sourceNode, ownerDocument){
        return xsltProcess(sourceNode, this.__stylesheet__).childNodes;
    }
});

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
envjs19-0.3.8.20101029121421 src/xslt/processor.js
envjs-0.3.8 src/xslt/processor.js
envjs-0.3.7 src/xslt/processor.js
envjs-0.3.6 src/xslt/processor.js
envjs-0.3.5 src/xslt/processor.js
envjs-0.3.4 src/xslt/processor.js
envjs-0.3.3 src/xslt/processor.js
envjs-0.3.2 src/xslt/processor.js
envjs-0.3.1 src/xslt/processor.js
envjs-0.3.0 src/xslt/processor.js
envjs-0.2.0 src/xslt/processor.js