on 2006 Apr 17 7:38 AM
Hi All,
I am using DOM Api for generating an xml document in Abap.
I am facing problems while generating a CDATA section in my xml file.Can anyone please provide me a sample code for generating a CDATA section using the IF_XML_DOCUMENT interface in ABAP.
Thanks,
Yomesh
are you sure that the interface is IF_XML_DOCUMENT , i dont see it in my WAS 6.40 system
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI raja,
The interface is actually IF_IXML.
Created an instance of cl_ixml class.
I have initialized as below
initialize iXML
type-pools: ixml.
class cl_ixml definition load.
data irc type i.
create main factory
data: ixmlfactory type ref to if_ixml.
ixmlfactory = cl_ixml=>create( ).
create stream factory
data: streamfactory type ref to if_ixml_stream_factory.
streamfactory = ixmlfactory->create_stream_factory( ).
Any help appreciated.
thanks,
Yomesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.