cancel
Showing results for 
Search instead for 
Did you mean: 

How to display XML with XSLT in web dynpro (ABAP)

tongping
Explorer
0 Kudos

Hi experts,

How could I to display XML with XSLT in web dynpro similar with the asp page below or with some methods?

 
<asp:xml runat="server" id="xmlDisp" 
          DocumentSource="aspnetbooks.xml"
          TransformSource="dispBooks.xsl" />

Thanks and best regards,

Tong Ping

Accepted Solutions (0)

Answers (2)

Answers (2)

tongping
Explorer
0 Kudos

With help from Aiga U, this is solved.

The solution is:

1. using XSL transformation first to convert the XML to html.

2. display the converted html with wdr_task=>client_window->client->attach_file_to_response.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You should never use wdr_task=>client_window->client->attach_file_to_response. WDR_TASK and its children objects are not public APIs. Instead simply use the public API CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE.

Former Member
0 Kudos

Hi,

as far i know it is not possible. You have formatted-text_edit UI element and it is also not going to help you.