From 4841b96dcf147ff7a41a58cde4522a6e3cec5b4e Mon Sep 17 00:00:00 2001 From: "mgalli%geckonnection.com" Date: Fri, 3 Feb 2006 22:17:19 +0000 Subject: [PATCH] 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 --- mozilla/minimo/chrome/content/bookmarks/bmview.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mozilla/minimo/chrome/content/bookmarks/bmview.js b/mozilla/minimo/chrome/content/bookmarks/bmview.js index ce8c2c24735..f5fa610edfb 100644 --- a/mozilla/minimo/chrome/content/bookmarks/bmview.js +++ b/mozilla/minimo/chrome/content/bookmarks/bmview.js @@ -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);