RXS_OpenDom()
This subprocedure initializes DOM parsing for a specified chunk of XML.
Subprocedure Prototype
 | 
        Returns an RXS_ParseDOMDS_t which contains information and pointers used by subsequent DOM parsing APIs.  | 
      
 | 
        Chunk of XML to be used for subsequent DOM operations.  | 
      
 | 
        Holds RXS_OpenDomDS_t used to set up initial DOM parsing options.  | 
      
Example Code
*--------------------------------------------------------------
* This example demonstrates configuring DOM parsing using a RXS_ParseDOMDS_t
*  datastructure.
*--------------------------------------------------------------
H DFTACTGRP(*NO) BNDDIR('RXSBND') ACTGRP(*CALLER)
 /copy QRPGLECPY,RXSCB
D OpenDomDS       DS                  LikeDS(RXS_OpenDOMDS_t)
D                                     Inz(*LIKEDS)            
D RootDomDS       DS                  LikeDS(RXS_PraseDOMDS_t)
D                                     Inz(*LIKEDS)
 /free
  reset OpenDomDS;   
  reset RootDomDS;
                                                   
  OpenDomDS.InputCcsid = RXS_CCSID_UTF8;                               
  RootDomDS = RXS_OpenDom( gXmlResponse : OpenDomDS );                 
  
  gXPath = RXS_XPath( '/*:Envelope/*:Body/*:FahrenheitToCelsius' +     
    'Response/*:FahrenheitToCelsiusResult' );        
  
  gCelsius = %Dec( RXS_ParseDomToText( gXPath : RootDomDS ) : 11 : 7 );
  
  RXS_CloseDom( RootDomDS );
  *INLR = *ON;
 /end-free
            Data Structures
 | 
        |
 | 
        |
 | 
        |
 | 
        Specifies the CCSID of the XML being parsed.  | 
      
 | 
        Specifies the CCSID the parsed data will be converted to.  | 
      
 | 
        Specifies an IFS path to an XML file to parse instead of the Input parm.  |