bmInit for XUL, produces XSLT transformation XUL in minimo UI

git-svn-id: svn://10.0.0.236/trunk@188891 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mgalli%geckonnection.com 2006-02-03 22:17:19 +00:00
parent 0a45e66e76
commit 4841b96dcf

View File

@ -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);