To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=81589


User lo changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------
                 Summary|unoxml: support dom docume|unoxml: support dom docume
                        |nt serialization          |nt serialization
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Fri Sep 14 16:37:41 +0000 
2007 -------
star basic code to test the new interfaces:
Sub Main
builder = createUnoService("com.sun.star.xml.dom.DocumentBuilder")
doc = builder.newDocument()
e = doc.createElement("test")
e.appendChild(doc.createTextNode("Hello World!")
doc.appendChild(e)
fa = createUnoService("com.sun.star.ucb.SimpleFileAccess")
' insert some URL you may write to...
stream = fa.openFileWrite("file:///c:/test.xml")
doc.setOutputStream(stream)
doc.start()
stream.closeOutput()
End Sub

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to