Skip to Content
0
Former Member
Jun 01, 2006 at 09:00 AM

Call transformation?

43 Views

Hello Everyone,

In My BSP page i wanna convert XML to HTML with XSL Transformation. I have the contents of XML as String , and output is html as String. but now i don't know, the XSL transformation is right or not.

DATA xml_data TYPE STRING.

DATA html_data TYPE STRING.

call transformation /CAG/C5LOGHTML

SOURCE XML xml_data

RESULT HTML = html_data.

when i execute the BSP application, error as following:

"Eine Exception vom Typ CX_XSLT_FORMAT_ERROR ist aufgetreten, wurde aber weder lokal behandelt noch durch eine RAISING-Klausel deklariert."

Exception-Klasse CX_XSLT_FORMAT_ERROR

Fehlername XML_FORMAT_ERROR

Programm CL_O2BM3J0TKUCUGZCJ7YFO2EXN0CRCP

Include CL_O2BM3J0TKUCUGZCJ7YFO2EXN0CRCM005

ABAP-Klasse CL_O2BM3J0TKUCUGZCJ7YFO2EXN0CR

Methode _ONINPUTPROCESSING

BSP-Applikation ZYLILOGGER

BSP-Seite MAIN.HTM

Zeile 103

who can tell me ,where is the problem.

Thx in advance

regards

Yaning