ABAP - XML
Hi All,
We are using 4.6c, i would like to understnad the process of downloading ABAP report to XML.
i have tried 'SAP_CONVERT_TO_XML_FORMAT'.
if anybody can provide a sample program, it is highly helpful.
Thanks,
RS
try this prog:
simply go through and execute:
*& Report ZITAB_TO_XML_1 *
REPORT ZITAB_TO_XML_1 .
Export an internal table to XML document *
PARAMETERS: GK_RUTA TYPE RLGRAP-FILENAME.
TYPE TURNOS *
TYPES: BEGIN OF TURNOS,
LU LIKE T552A-TPR01,
MA LIKE T552A-TPR01,
MI LIKE T552A-TPR01,
JU LIKE T552A-TPR01,
VI LIKE T552A-TPR01,
SA LIKE T552A-TPR01,
DO LIKE T552A-TPR01,
END OF TURNOS.
TYPE TURNOS *
TYPE SOCIO *
TYPES: BEGIN OF SOCIO,
NUMERO LIKE PERNR-PERNR,
REPOSICION LIKE PA0050-ZAUVE,
NOMBRE LIKE PA0002-VORNA,
TURNOS TYPE TURNOS,
END OF SOCIO.
TYPE SOCIO *
ESTRUCTURA ACCESOS *
DATA: BEGIN OF ACCESOS OCCURS 0,
SOCIO TYPE SOCIO,
END OF ACCESOS.
ESTRUCTURA ACCESOS *
START OF SELECTION *
START-OF-SELECTION.
PERFORM LLENA_ACCESOS.
PERFORM DESCARGA_XML.
END-OF-SELECTION.
END OF SELECTION *
FORM LLENA_ACCESOS *
FORM LLENA_ACCESOS.
REFRESH ACCESOS.
CLEAR ACCESOS.
MOVE: '45050' TO ACCESOS-SOCIO-NUMERO,
'MOISES MORENO' TO ACCESOS-SOCIO-NOMBRE,
'0' TO ACCESOS-SOCIO-REPOSICION,
'T1' TO ACCESOS-SOCIO-TURNOS-LU,
'T2' TO ACCESOS-SOCIO-TURNOS-MA,
'T3' TO ACCESOS-SOCIO-TURNOS-MI,
'T4' TO ACCESOS-SOCIO-TURNOS-JU,
'T5' TO ACCESOS-SOCIO-TURNOS-VI,
'T6' TO ACCESOS-SOCIO-TURNOS-SA,
'T7' TO ACCESOS-SOCIO-TURNOS-DO.
APPEND ACCESOS.
CLEAR ACCESOS.
MOVE: '45051' TO ACCESOS-SOCIO-NUMERO,
'RUTH PEÑA' TO ACCESOS-SOCIO-NOMBRE,
'0' TO ACCESOS-SOCIO-REPOSICION,
'T1' TO ACCESOS-SOCIO-TURNOS-LU,
'T2' TO ACCESOS-SOCIO-TURNOS-MA,
'T3' TO ACCESOS-SOCIO-TURNOS-MI,
'T4' TO ACCESOS-SOCIO-TURNOS-JU,
'T5' TO ACCESOS-SOCIO-TURNOS-VI,
'T6' TO ACCESOS-SOCIO-TURNOS-SA,
'T7' TO ACCESOS-SOCIO-TURNOS-DO.
APPEND ACCESOS.
ENDFORM.
FORM LLENA_ACCESOS *
FORM DESCARGA_XML *
FORM DESCARGA_XML.
DATA: L_DOM TYPE REF TO IF_IXML_ELEMENT,
M_DOCUMENT TYPE REF TO IF_IXML_DOCUMENT,
G_IXML TYPE REF TO IF_IXML,
W_STRING TYPE XSTRING,
W_SIZE TYPE I,
W_RESULT TYPE I,
W_LINE TYPE STRING,
IT_XML TYPE DCXMLLINES,
S_XML LIKE LINE OF IT_XML,
W_RC LIKE SY-SUBRC.
DATA: XML TYPE DCXMLLINES.
DATA: RC TYPE SY-SUBRC.
DATA:BEGIN OF XML_TAB OCCURS 0,
D LIKE LINE OF XML,
END OF XML_TAB.
CLASS CL_IXML DEFINITION LOAD.
G_IXML = CL_IXML=>CREATE( ).
CHECK NOT G_IXML IS INITIAL.
M_DOCUMENT = G_IXML->CREATE_DOCUMENT( ).
CHECK NOT M_DOCUMENT IS INITIAL.
WRITE: / 'Converting DATA TO DOM 1:'.
CALL FUNCTION FOR: Bridge Between ABAP and iXML----
CALL FUNCTION 'SDIXML_DATA_TO_DOM'
EXPORTING
NAME = 'ACCESOS'
DATAOBJECT = ACCESOS[]
IMPORTING
DATA_AS_DOM = L_DOM
CHANGING
DOCUMENT = M_DOCUMENT
EXCEPTIONS
ILLEGAL_NAME = 1
OTHERS = 2.
IF SY-SUBRC = 0.
WRITE 'Ok'.
ELSE.
WRITE: 'Err =',
SY-SUBRC.
ENDIF.
CHECK NOT L_DOM IS INITIAL.
W_RC = M_DOCUMENT->APPEND_CHILD( NEW_CHILD = L_DOM ).
IF W_RC IS INITIAL.
WRITE 'Ok'.
ELSE.
WRITE: 'Err =',
W_RC.
ENDIF.
CALL FUNCTION FOR: put the XML data ino ITAB----
CALL FUNCTION 'SDIXML_DOM_TO_XML'
EXPORTING
DOCUMENT = M_DOCUMENT
IMPORTING
XML_AS_STRING = W_STRING
SIZE = W_SIZE
TABLES
XML_AS_TABLE = IT_XML
EXCEPTIONS
NO_DOCUMENT = 1
OTHERS = 2.
IF SY-SUBRC = 0.
WRITE 'Ok'.
ELSE.
WRITE: 'Err =',
SY-SUBRC.
ENDIF.
LOOP AT IT_XML INTO XML_TAB-D.
APPEND XML_TAB.
ENDLOOP.
----File Transfer from Internal Table to Presentation Server File--
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = W_SIZE
FILENAME = 'D:GK_RUTA.XML'
FILETYPE = 'BIN'
TABLES
DATA_TAB = XML_TAB
EXCEPTIONS
OTHERS = 10.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " of FORM: DESCARGA_XML
if helpful rewards the points
Similar Messages
-
Hello,
We are planning to setup our SAP system to generate XML messages (from ABAP transaction/program). Then it will send this XML message in our counterparts outside our network (i.e. HQ) which is not necessarily using an SAP system. Then it will send back a response XML message to our SAP system with data that we need to save and process in our database. We are only using SAP R3 Enterprise 4.7. My question is, Is this setup is achievable in our current release of SAP? What other options do we have? Thank you in advance.
Regards,
TonyHi sri,
1. itab --- > xml
xml ---> itab.
2. This program will do both.
(just copy paste in new program)
3.
REPORT abc.
DATA
DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
DATA : BEGIN OF itab OCCURS 0,
a(100) TYPE c,
END OF itab.
DATA: xml_out TYPE string .
DATA : BEGIN OF upl OCCURS 0,
f(255) TYPE c,
END OF upl.
DATA: xmlupl TYPE string .
FIRST PHASE
FIRST PHASE
FIRST PHASE
Fetch Data
SELECT * FROM t001 INTO TABLE t001.
XML
CALL TRANSFORMATION ('ID')
SOURCE tab = t001[]
RESULT XML xml_out.
CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
EXPORTING
TEXT = xml_out
IMPORTING
LENGTH =
TABLES
FTEXT_TAB = itab.
Download
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filetype = 'BIN'
filename = 'd:\xx.xml'
TABLES
data_tab = itab.
SECOND PHASE
SECOND PHASE
SECOND PHASE
BREAK-POINT.
REFRESH t001.
CLEAR t001.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'D:\XX.XML'
filetype = 'BIN'
TABLES
data_tab = upl.
LOOP AT upl.
CONCATENATE xmlupl upl-f INTO xmlupl.
ENDLOOP.
XML
CALL TRANSFORMATION ('ID')
SOURCE XML xmlupl
RESULT tab = t001[]
BREAK-POINT.
regards,
amit m. -
XI PROXY - FILE, hex rep of spaces are # signs in ABAP, XML can not parse
Hello
I have a proxy to file scnerio in which I am setting up the data for a length delimited flat file to send to a vendor via XI.
I cannot use the DT/MT becuase of the complex file data structure I am working with to specify the columns and its length in XI.
So i have a proxy which has one long string with syhex02 -> '00a0' in place of all the spaces between the fields.
When I create the flat file straight from the program to the desktop, the file looks as it should. When i try to feed it through XI, the XML parser chokes becuase it sees # signs in place of spaces.
I've tried hard coding ' ' for spaces, but in the hex editor, it sees it as 20's instead of 00's.
Please help from ABAP turning my hex spaces into '#' signs.
thank you.Hex representation of horizontal tab space is #
Implies ' ' or space is not represented as #.
Check if this helps.
Regards,
Karthik -
XML Transformation error (ABAP -- XML)
Hi,
I'm getting the foll. error while doing a XML Transformation, Can anyone help me in this regard..
<FIN_WT>56.0</FIN_WT>
<FIN_WT_UNIT>KG</FIN_WT_UNIT>
<ZZQMNUM />
<ZZHOLD />
<ZZDUMATNR
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
The following tags were not closed: asx:abap, asx:values, OUTPUT, item. Error processing resource 'file:///C:/Documents and...
> />
<PSP_NR>U5/0626-HT-193-1-36-344</PSP_NR>
<ZZCRTNAME>ALFI</ZZCRTNAME>
<ZZAPPNAME>ALFI</ZZAPPNAME>
Regards
Jikuare you trying to transform XML to itab?
is the xml well formed one - you can check this by running the xml file in webbrowser, if it doesnt display, then it means the xml is not well formed.
Regards
Raja -
Hi All,
I need to know how to create specific XML schema output. i tried with FM available and classes available but i need the output in the following format.
<?xml version="1.0" encoding="UTF-8" ?>
- <ps:ProcessSet xmlns:ts="http://schemas.ariba.com/IS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xtc="http://schemas/ariba/xt/core" xmlns:xtd="http://schemas/ariba/xt/datatypes" xmlns:dts="http://schemas/ariba/xt/database" msgid="yw890-hplw47j-904gk4n-s3n4mzq2">
- <ProcessSetProperties null_representation="indirect" process_scope="Entity">
<DateTimeFormats dateTimeFormat="YYYY-MM-DD HH24:MI:SS" />
<Source>SG</Source>
<Message_Version>1.0.0</Message_Version>
I need ABAP code for the above format.
Thanks in Advance
AnneyHi,
This should also be possible to do via the ABAP iXML framework:
There is good documentation and example code at:
http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/content.htm.
Another simple option would be to copy the code from blog:
/people/r.eijpe/blog/2005/11/21/xml-dom-processing-in-abap-part-ii--convert-an-xml-file-into-an-abap-table-using-sap-dom-approach
And replace the file-upload code with a call to istream = streamfactory->create_istream_uri( URL_TO_SITE ).
which would let you read the XML data directly from a specified URI.
Refer this thread, u may get ur answer in it.
Abap and XML
Regards,
Prakash -
ABAP-XML conversion via call transformation
Hi folks!
I'm using a deep structure for returning the reply from a function module. To save my test data I wanted to generate an XML from this ABAP structure.
I had in mind that I could use CALL TRANSFORMATION to get the asXML representation of the ABAP structure but I could not figure out how this works.
Can somebody give me a hint how I could convert my deep ABAP structure into XML without much coding?
Thanks!
BirgitHi stonefish,
1. internal table -
> Xml
xml -
> internal table
2. this program will show both.
3. It will do this for
T001 table.
4. Just copy paste in new program.
REPORT abc.
DATA
DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
DATA : BEGIN OF itab OCCURS 0,
a(100) TYPE c,
END OF itab.
DATA: xml_out TYPE string .
DATA : BEGIN OF upl OCCURS 0,
f(255) TYPE c,
END OF upl.
DATA: xmlupl TYPE string .
FIRST PHASE
FIRST PHASE
FIRST PHASE
Fetch Data
SELECT * FROM t001 INTO TABLE t001.
XML
CALL TRANSFORMATION ('ID')
SOURCE tab = t001[]
RESULT XML xml_out.
Convert to TABLE
CALL FUNCTION 'HR_EFI_CONVERT_STRING_TO_TABLE'
EXPORTING
i_string = xml_out
i_tabline_length = 100
TABLES
et_table = itab.
Download
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filetype = 'BIN'
filename = 'd:\xx.xml'
TABLES
data_tab = itab.
SECOND PHASE
SECOND PHASE
SECOND PHASE
BREAK-POINT.
REFRESH t001.
CLEAR t001.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'D:\XX.XML'
filetype = 'BIN'
TABLES
data_tab = upl.
LOOP AT upl.
CONCATENATE xmlupl upl-f INTO xmlupl.
ENDLOOP.
XML
CALL TRANSFORMATION ('ID')
SOURCE XML xmlupl
RESULT tab = t001[]
BREAK-POINT.
regards,
amit m. -
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,
YomeshHI 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 -
Abap- XML: sorting of attributes
Hi,
I would like to create an XML-File from ABAP.
This still works fine.
There's only one problem: the sorting of the output-XML-file is not like the sorting at the XSLT.
Here's the part of the coding of the transformation:
<xsl:element name="PERSON">
<xsl:attribute name="Personennr"><xsl:value-of select="PARTNR_--40ADRNR" /></xsl:attribute>
<xsl:attribute name="PersArtCd"><xsl:value-of select="PARTTYPE" /></xsl:attribute>
<xsl:attribute name="LandesCd"><xsl:value-of select="COUNTRY" /></xsl:attribute>
<xsl:attribute name="PLZ"><xsl:value-of select="POSTCODE" /></xsl:attribute>
<xsl:attribute name="Ort"><xsl:value-of select="CITY" /></xsl:attribute>
<xsl:attribute name="Strasse"><xsl:value-of select="STREET_NO" /></xsl:attribute>
The output looks like this:
<PERSON LandesCd="A" Ort="WIEN" PLZ="1010" PersArtCd="X" Personennr="000123456" Strasse="STREET. 1">
I want to have the field "Personennr" at first position and the sorting as in the XSLT respectively.
Any ideas??
Best regards,
WolfgangHi Wolfgang,
I receive attributes in the listed order, unsorted, only with crazy tricks...
<i><u>Either using names with leading spaces:</u></i><pre>
<xsl:attribute name=" Personennr"><xsl:value-of select="PARTNR_--40ADRNR" /></xsl:attribute>
<xsl:attribute name=" PersArtCd"><xsl:value-of select="PARTTYPE" /></xsl:attribute>
<xsl:attribute name=" LandesCd"><xsl:value-of select="COUNTRY" /></xsl:attribute>
<xsl:attribute name=" PLZ"><xsl:value-of select="POSTCODE" /></xsl:attribute>
<xsl:attribute name=" Ort"><xsl:value-of select="CITY" /></xsl:attribute>
<xsl:attribute name="Strasse"><xsl:value-of select="STREET_NO" /></xsl:attribute> </pre>
<u><i>or using different namespaces for each attribute:</i></u><pre>
<xsl:attribute name="Personennr" namespace="1"><xsl:value-of select="PARTNR_--40ADRNR" /></xsl:attribute>
<xsl:attribute name="PersArtCd" namespace="2"><xsl:value-of select="PARTTYPE" /></xsl:attribute>
<xsl:attribute name="LandesCd" namespace="3"><xsl:value-of select="COUNTRY" /></xsl:attribute>
<xsl:attribute name="PLZ" namespace="4"><xsl:value-of select="POSTCODE" /></xsl:attribute>
<xsl:attribute name="Ort" namespace="5"><xsl:value-of select="CITY" /></xsl:attribute>
<xsl:attribute name="Strasse" namespace="6"><xsl:value-of select="STREET_NO" /></xsl:attribute> </pre>
Of course, it contradicts the W3C standards and common sense and the first trick doesn't work with IE or other XSLT processors, except SAP's XSLT_TOOL and CALL TRANSFORMATION...
Best regards,
Vlad -
ABAP: XML + template = PDF?
Hi,
I'm trying to create an interactive pdf form in ABAP using the form's template (defined in FSP) & some XML data.
data: LV_PDF type XSTRING,
LV_FORM type ref to IF_FP_WB_FORM,
LV_FORMOBJ type ref to IF_FP_FORM,
LV_LAYOUT type ref to IF_FP_LAYOUT,
LV_XFT type XSTRING,
LS_LAYOUT type FPLAYOUT
LO_PDFOBJ->RESET( ).
LO_PDFOBJ->SET_DATA( exporting FORMDATA = LV_XML_DATA ).
select single * from FPLAYOUT into LS_LAYOUT where NAME = 'ZTEST_FORM'.
LO_PDFOBJ->SET_TEMPLATE( exporting XFTDATA = LS_LAYOUT-LAYOUT FILLABLE = 'X').
LO_PDFOBJ->SET_OUTPUTPDF( exporting DYNAMIC = 'X' ).
LO_PDFOBJ->EXECUTE( ).
LO_PDFOBJ->GET_PDF( importing PDFDATA = LV_PDF ).
At LO_PDFOBJ->EXECUTE( ) I get a CX_FP_RUNTIME_SYSTEM exception: "processing exception during Render Operation, com.adobe.ProcessingError: SOM expression error while configuring the XMLForm module. Please validate the input files or".
The XML in LV_XML_DATA is correct since I retrieved it from an interactive pdf form that has been generated using the ZTEST_FORM template.
What am I missing?
Thanks,
JeroenIt sounds like you're talking about making a form. You can do this in Acrobat by adding interactive form fields. Exactly how you do this depends on which version of Acrobat you're using. More information is in the Acrobat Help doc, but post again if you have more questions. Another useful resource for tutorials about creating form is: http://www.AcrobatUsers.com
-
Cannot get encoding correct using ABAP XML
I need to transform data using ABAP transforms and the DOM.
I'm expecting to get a string like this out of the DOM tree when I call IF_IXML_NODE->GET_VALUE( ):
Jukan testityö
Instead I get:
Jukan testityA¶
(This is finnish).
The inbound XML is UTF-8 encoded, and the text is fine when browsing.
I have two issues:
1) When I call CALL TRANSFORM and my xslt code has <xsl:output encoding="utf-8"/>, it works with the XSLT_TOOL in test mode and sets the encoding for the transformed XML as UTF-8. However, when I call CALL TRANSFORM in the program, the encoding of the transformed file is "iso-8859-1". I cannot change the encoding, even if using CALL TRANSFORMATION with OPTIONS xml_header = 'full'. How can I do that?
I have tried to use the SET_ENCODING methods of the if_ixml_istream and if_ixml_document objects like this:
l_encoding = l_ixml->create_encoding( byte_order ='1', character:_set = 'utf-8' ).
l_istream->set_encoding( encoding = l_encoding ).
and this still does not work.
Any idea how I can correctly render my xml to correctly display finnish characters?
BR,
Tony.Ever managed to get this done?
Tried "UTF-8" in capitals?
Ciao
Alex -
XSD Validation with ABAP XML Parser?
Hello there,
i'm loading xml files into a R/3 System. This all works fine with the standard XML Parser.
The XML Files are based on a .xsd structure that is assigned to each file with a external link.
To be sure that the xml document conforms to this .xsd structure i would like to check against it.
For that i would like to hold a .xsd structure string in my abap programm.
How can this be accomplished? Is this possible anyway?
Greetings and many thanks.
Kaycheck out the class
CL_XML_SCHEMA
Regards
Raja -
I would like to get suggestion for the following scenario:
I am trying to create a XML file from SAP.
This XML need to be wrapped inside SOAP.
SOAP comprises of ENVELOPE, HEADER and BODY.
I am able to achieve all the above with no issues.
Finally the generated SOAP message need to be then wrapped in MIME Format.
The text for MIME should be similar to this:
Message-ID:<some text>
MIME-Version: 1.0
Content-Type: multipart/etc; boundary="123"
--=123 (MIME boundary)
content-Type:
contect-transfer-encoding:
content-ID:
Note: The above bolded MIME lines should be part of the XML file.
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP envelope>
<SOAP Header>-----
</SOAP Header>
<SOAP Body>
All XML tags inside this body
</SOAP BODY>
</SOAP envelope>
*=123 (End of MIME Boundary)
Using create_simple_element, all the SOAP and XML tags are created successfully.
What would I need to use to insert the MIME texts in bold from above to make it part of the XML file?
If any of you have done something similar to this, could you please share this with me? If you can point me to an example it will be great too.
Thanks,
Raj
Edited by: Rajesh Chathapuram on Oct 26, 2009 7:16 PMI have resolved this.
Just had to use a normal transfer (using dataset) to the file hardcoding all MIME related lines. -
ABAP XML transformation problem
Hi all,
I am creating an XML based on a custom transformation I have made. The problem I have is that my variables type P decimals 2 are passed to the XML with just one decimal place, but I need two decimal places.
I was investigating and SAP documentation says that it should be passed with 2 decimal places according to the conversion, however it is not working in my case.
The only solution I found is making those variables type C, but I really want a solution that allows me keep my fields as type P.
Thanks in advanceHi,
That's strange, it works well on my computer. I guess you should check SAP notes or contact SAP support.
Sandra -
SERIALIZE_APPLICATION_DATA Conversion error ABAP = XML: Request Message
I am getting the bellow error message when running the
Outbound interface.
CX_ST_SERIALIZATION_ERROR in /1SAI/SAS752E86EAFD7784E5A79D Line 569 An error occurred during serialization in the simple transformation program /1SAI/SAS752E86EAFD7784E5A79D (The va
I am getting this error at the time PROXY call.
I used the Data type as -
PER_AREA_SUB Element xsd:string 1 false
Edited by: Naresh Nelapatla on Feb 23, 2012 5:16 PM
Edited by: Naresh Nelapatla on Feb 23, 2012 6:08 PMCan you tell me how you solved this. I've got the same issue
Thanks
Peter Jonker -
XML to deep/complex ABAP table
Hello
I can successfully transform an XML file into an internal table with a flat structure.
But I would like to use an internal table with a deep/complex structure representing the relationship of some of data elements.
Has anyone been able to transform an XML into an internal table with deep/complex structure?
Regards, SteveHi all
I eventually found an old SDJ article entitled "Mastering the asXML format to Leverage ABAP-XML Serialization". Understanding the asXML format for my particular requirement was the key to building my XSLT.
Briefly here's the steps I took to determine how the asXML should look:
I changed my ABAP to populate the complex internal table with some dummy data and changed the direction of my transformation to produce asXML from the internal table. By complex I mean an internal table with a nested table as one of its fields.
My call to the transformation now looks like this:
CALL TRANSFORMATION ID
SOURCE thisone = lt_complextable
RESULT XML lt_xml. " asxml.
Using keyword "ID" tells the transformation to produce an asXML stream instead of performing a transformation via my XSLT. "thisone" is a dummy tag that is written into the stream and surrounds the data.
Looking at the resulting lt_xml I can now see what my XSLT needs to output. Now that I know what format the asXML needs to be I am able to modify my XSLT accordingly.
There is quite a bit of code involved in a demo so I won't post it all here but if anyone is interested I'll write up a document with all the sample code etc.
Cheers, Steve
Maybe you are looking for
-
How do you combine two or more movie clips into one movie clip in iMovie '09
how do you combine two or more movie clips into one movie clip in iMovie '09
-
How to dynamically convert the return datatype of a procedure
Hi , I want to write a procedure which will take two argument. one will be string and another one will be a out variable having dynamic return type based on the data in first passing parameter. Description: let suppose i have one table which has 3 co
-
New skype doesn't show group convo's topic picture
Please stop updating skype if bugs like this are going to effect stuff, in fact I think the basic skype was perfect but ti seems that each version its being upgraded with is over weighting the pros with cons. Anyways I can't see group convo pictures
-
JUst installing the applications on anew comouter for the first time the new machine rund Widows 7 the old one on XP when I enter the serial numbeer on the product box Adobe says the number is valid I have a new serial number allocated but this doe
-
I desperately need a Windows based software on my Mac Air...
I have a Windows based program that I NEED and would like put on my MacBook Air, but how do I do that? Someone out there please help! Very gratefully yours, Me.