Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Keiko Quetalyikle 17.Nov.03 12:14 PM a Web browser
Domino Designer 6.0.3 Windows 2000


Hi!

I have an simple Agent(I write only for this Problem)
I have an exportet document from Notes (with DXLExporter), this document is the input for an Notesdomparser, after Notesdomparser.serialize()
the DXL file is not well formed! Why???

the Agent:

Sub Initialize
Dim ostream As NotesStream
Dim stream As NotesStream
Dim domparser As NotesDOMParser
Dim db As NotesDatabase
Dim s As New notessession

Set stream = s.CreateStream
If Not stream.Open("c:\xml\inputversuch.xml", "utf-8") Then
Messagebox "Cannot open " & filename,, "Error"
Exit Sub
End If
If stream.Bytes = 0 Then
Messagebox "File did not exist or was empty",, filename
Exit Sub
End If

Set ostream = s.CreateStream
If Not ostream.Open("c:\xml\output.xml", "utf-8") Then
Messagebox "Cannot open " & filename,, "Error"
Exit Sub
End If
Call ostream.Truncate

Set domparser = s.CreateDOMParser(stream,ostream)
DOMParser.InputValidationOption = VALIDATE_NEVER

Call domparser.process

Msgbox domparser.log

' Call domparser.Serialize

Msgbox domparser.log

Call stream.Close
Call ostream.Close
End Sub






DXL-Import (~Keiko Quetalyi... 17.Nov.03)
. . RE: DXL-Import (~Kirk Elreterod... 17.Nov.03)
. . . . RE: DXL-Import (~Keiko Quetalyi... 18.Nov.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS