check out the org.w3c.dom Classes they are really usefull,
as well as javascript inbeded DOM manipualtion Classes
Maybe this can help you
>function createDocument(uri, "<root/>")
function createDocument(uri, nodename){
//Construct DOM document
var document =createDocument();
var r = document.createElement(nodename);
document.appendChild(r);
//then save it to DB or else where through pipeline or File Class
}
//this only makes sure the document contains Nodes
function isDocument(uri){
var document = loadDocument(uri);
return document.hasChildNodes();
}
Tibor
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]