XdsObjects Help file
XdsObjects Namespace / XdsSubmissionSet Class / WriteXDM Method
The directory to write the files into
The location of a stylesheet to use for METADATA.XML files
The location of a stylesheet to use for CDA files



WriteXDM Method
Writes the SumissionSet object and all associated documents into a directory compatible with the XDM profiles.
Syntax
Public Sub WriteXDM( _
   ByVal Directory As String, _
   ByVal MetaDataStyleSheet As String, _
   ByVal CDAStyleSheet As String _
) 
Dim instance As XdsSubmissionSet
Dim Directory As String
Dim MetaDataStyleSheet As String
Dim CDAStyleSheet As String
 
instance.WriteXDM(Directory, MetaDataStyleSheet, CDAStyleSheet)

Parameters

Directory
The directory to write the files into
MetaDataStyleSheet
The location of a stylesheet to use for METADATA.XML files
CDAStyleSheet
The location of a stylesheet to use for CDA files
Remarks

Only the submission set folder is written - it is up to the calling application to:

  1. Create the README.TXT file
  2. Create the INDEX.HTM file
  3. Create the IHE_XDM folder into which the data is written using this call.

Most data is written "as is", but multi-part documents are handled specially:

  • The parts are placed in a directory
  • Only the first part is referenced from the METADATA.XML file
  • The size and hash in the metadata are updated accordingly

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also