I tried this to get xml string of curren xul document.
                function test(){
                        doc = document;
                        doc.getElementById("audiotarget").value = "D:\\Docs";
                        var serializer = new XMLSerializer();
                        var xml = serializer.serializeToString(doc);
                        textBox = document.getElementById("xulData");
                        textBox.value = xml;

                }
but the "audiotarget" element in xml string does not changes to
"D:\\Docs"; I have no idea what's wrong as I am a newbie to XML. Pls
help me. Thanks in advance.

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to