SMP/E for z/OS Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Syntax rules for XML statements

SMP/E for z/OS Commands
SA23-2275-01

XML statements may be coded in the CLIENT, SERVER, SYSIN, file attribute, and package attribute files for use with the GIMZIP and GIMUNZIP service routines.

The following syntax rules apply to XML statements:
  • SMP/E ignores columns 73 through 80.
  • All tags have a starting and ending delimiter specified as <keyword> and </keyword>, respectively.
  • Any tag that does not contain another tag (that is, nested tags) may have an ending delimiter of either </keyword> or just />.
    Read syntax diagramSkip visual syntax diagram
                   .---------------------------------.                  
                   V                                 |                  
    >>-<start-tag----+-----------------------------+-+-->--</end-tag>-><
                     '-attribute="attribute value"-'                    
    
    
    Read syntax diagramSkip visual syntax diagram
                   .---------------------------------.       
                   V                                 |       
    >>-<start-tag----+-----------------------------+-+--/>---------><
                     '-attribute="attribute value"-'         
    
    
  • Comments must begin with <!-- and end with"-->. All data between the <!-- and the --> is ignored. Comments cannott be placed inside a tag.
  • Any text not contained within comment delimiters is syntax checked.
  • Tags are case sensitive; attribute values may be mixed case.
  • A tag is not required to start on a new line.
  • The XML markup characters, <, >, and &, cannot appear within a tag name or an attribute value.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014