Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XML Parser

Former Member
0 Likes
679

Hi all,

Is there any special classes to peocess or parse XML documents ?

thanks

Edited by: Noureddine MOUTAA on Oct 21, 2008 6:23 PM

3 REPLIES 3
Read only

uwe_schieferstein
Active Contributor
0 Likes
605

Hello Noureddine

You may have a look at the classes within the package hierarchy SXSLT (e.g. CL_XSLT_PROCESSOR) and the sample reports within package SIXML -> SIXML_TEST, e.g. BCCIIXMLT1:


*
*  BCCIIXMLT1 - sample program
*
*  This sample program shows how to read an XML document from a file
*  in the frontend's file system, parse the document into a DOM
*  representation and display the content as a list.
*  Additionally the DOM representation is rendered back into an XML
*  stream and stored as an output XML file on the frontend machine.
*
*  This sample program uses ABAP tables to represent the XML input
*  and output streams. See BCCIIXMLT2 for a sample using strings.
*

REPORT bcciixmlt1 MESSAGE-ID bcciixmlt3_msg LINE-SIZE 1000.
TYPE-POOLS: ixml.
...

Regards

Uwe

Read only

Former Member
0 Likes
605

[http://help.sap.com/|http://help.sap.com/saphelp_nw70/helpdata/DE/86/8280d212d511d5991b00508b6b8b11/frameset.htm]

Read only

aaron_morden2
Contributor
0 Likes
605

I've used CL_XML_DOCUMENT.