Hi

I'm trying to create a DOM tree with on-the-fly data.
But there's no way to create a DOMNode of type DOMElement with "new" operator..


I tried to create a dummy document with a single tag, parse it and get the root node
with doc->getDocumentElement(), where doc is a DOMDocument object.
After that, I tried to use the cloneNode() method, but after that I can't modify the name of the
clone node (there's no setName-like function)


So, how can I create the DOM tree?

tks
Hugo


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to