Notifications
Clear all
[Closed] Parsing XML with ActiveX Microsoft.XMLDOM
Page 2 / 2
Prev
Nov 16, 2006 3:34 pm
sorry for hitchiking this thread:
Ypuec,
in what way your example is executet or inited?
If I comment the line
destroyDialog rXML
the dialog should be visible, if I get it right?
But it only shows up if I call an additional
xmlops.init()
Georg
1 Reply
Hi Georg,
Yes, you’re right but it’s better to use 2 rollouts : one for the XMLDOM activex parser (destroyed at init but control still active) and one for the UI.
In fact this struct is in a separate file : it encapsulates a XMLDOM parser.
Here is an example showing how to use this struct :
include "xmlops.lib"
fn GetDAEInfos daeFileName =
(
DAEOps = xmlops()
DAEOps.init force:false
xmlDoc = DAEOps.xmlDoc
xmlDoc.load(daeFileName)
etc.
)
So, in order to init correctly the struct ; force must be set to false.
Page 2 / 2
Prev