bmInit for XUL, produces XSLT transformation XUL in minimo UI

This commit is contained in:
mgalli%geckonnection.com 2006-02-03 22:17:19 +00:00
Родитель 12affbdeeb
Коммит b9bc100914
1 изменённых файлов: 13 добавлений и 0 удалений

Просмотреть файл

@ -8,6 +8,19 @@ function bmInit(targetDoc, targetElement) {
}
/* This is called and currently being used from minimo.js,
* See the path bookmarks/...
*/
function bmInitXUL(targetDoc, targetElement) {
var testLoad=new bmProcessor();
testLoad.xslSet("bookmarks/bookmark_template_xul.xml");
testLoad.setTargetDocument(targetDoc);
testLoad.setTargetElement(targetElement);
testLoad.run();
}
function bmProcessor() {
this.xmlRef=document.implementation.createDocument("","",null);
this.xslRef=document.implementation.createDocument("http://www.w3.org/1999/XSL/Transform","stylesheet",null);