SAP ABAP SXML LIB WRITER

Get Example source ABAP code based on a different SAP table
  


ARTICLE

sXML Library - XML Writer
The interfaces and classes of sXML library for the XML writer are:

IF_SXML IF_SXML_NSURI_HELPER
| |
|---------|
|
|--IF_SXML_WRITER
|
|--CL_SXML_WRITER
|
|-------CL_SXML_STRING_WRITER
|
|-------CL_SXML_TABLE_WRITER
|
|------- CL_SXML_DATASET_WRITER
|
|-------CL_SXML_HTTP_WRITER
|
| IF_SXML_XOP
| |
|----|--CL_SXML_XOP_WRITER
The interface IF_SXML_WRITER contains the components that are required for every XML writer. The abstract class CL_SXML_WRITER implements all the general methods of an XML writer. The subclasses of these classes are specializations for different storage locations of XML data and provide a factory method for generating the associated XML writer.
The higher-level interfaces contain components for XML reader and XML writer:
IF_SXML contains constants for the supported XML format.
IF_SXML_NSURI_HELPER contains methods for namespaces.