5 var docType
= document
.implementation
.createDocumentType(undefined, '', '');
6 var doc
= document
.implementation
.createDocument('', '', null);
7 var xp
= new XSLTProcessor
;
8 xp
.importStylesheet(doc
);
9 xp
.transformToDocument(docType
);
14 docType
= document
.implementation
.createDocumentType(undefined, '', '');
15 doc
= document
.implementation
.createDocument('', '', null);
16 xp
= new XSLTProcessor
;
17 xp
.importStylesheet(doc
);
18 xp
.transformToFragment(docType
, document
);