function RenamePersonalToolbar()
{
var db = document.getElementById("tree").database;
var personalToolbarFolder =
document.rdf.GetResource("NC:PersonalToolbarFolder");
var NC_name =
document.rdf.GetResource("http://home.netscape.com/NC-rdf#Name");
var oldNameLiteral = db.GetTarget(personalToolbarFolder, NC_name, true);
dump("old name was " + oldNameLiteral + "\n");
var newName =
document.rdf.GetLiteral("Hello, goof ball");
db.Assert(personalToolbarFolder, NC_name, newName, true);
}
Remove Personal Toolbar
Name
URL