Ancestor: HL7Connect.Events.Base

Called by a File Interface when it has an HL7 Message it needs to convert to an XML File

The script can specify an output character encoding (defaults to UTF-8), and must populate the XML Dom (MsXml Dom)

Properties

HL7Connect.V2.Message Msg;
   message containing the content to be converted to Xml

object Document;
   Document : the DOM for the XML File. The variant is actually an IXMLDOMDocument2 from the MsXml DOM.

Do not create a processing instruction - the infrastructure will add this.

You must create a root element- a single child element of the Document.

Javascript example:

  var x = aEvent.Document;
  var e = x.createElement("test");
  x.appendChild(e);

Note that DOM method names etc are case sensitive

bool IsPretty;
   whether to make the XML pretty printed (laid out using whitespace)


Methods


© Kestral Computing P/L 2000 - 2003. HL7Connect v2.00-063 generated on 30-Nov 2015.
Keywords: Document, Msg, IsPretty, HL7Connect.Events.BuildXml, BuildXml