Hi all,

I'm developing a xml parser using macro that reads information in writer document and creates a xml file in a custom format. I'm using services in the package com::sun::star::xml::dom. How can I extract the dom structure in an output xml file ?

   Example code:

   dim MyObj as object
   dim oggettoXMLdoc as object
MyObj = createUnoService("com.sun.star.xml.dom.DocumentBuilder")
   'msgbox Myobj.DBG_methods
oggettoXMLdoc = MyObj.newDocument
   msgbox oggettoXMLdoc.DBG_methods

   ..................................................
    element = oggettoXMLdoc.createElement("help")

    element.setAttribute("id",MyoutSTR)


Thanks

Maurizio

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

Reply via email to