<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: xml to html using xslt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-to-html-using-xslt/m-p/9811267#M1781365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Osman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do this with the CALL TRANSFORMATION command. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;&amp;nbsp; l_xml&amp;nbsp; TYPE string,&lt;/P&gt;&lt;P&gt;&amp;nbsp; l_html TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_xml = get_xml( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSFORMATION zxml2html&lt;/P&gt;&lt;P&gt;&amp;nbsp; SOURCE XML l_xml&lt;/P&gt;&lt;P&gt;&amp;nbsp; RESULT XML l_html.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if there is a XML output, you can specify, that the XSL-processor will do a HTML-output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create your XSL-Transformation with the transaction XSLT_TOOL. &lt;/P&gt;&lt;P&gt;You will have to respect some SAP specials, but I would try to import your existing XSLT and try to activate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Hendrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Sep 2013 08:09:45 GMT</pubDate>
    <dc:creator>hendrik_brandes</dc:creator>
    <dc:date>2013-09-27T08:09:45Z</dc:date>
    <item>
      <title>xml to html using xslt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-to-html-using-xslt/m-p/9811266#M1781364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I want to convert xml file to html with using xslt file. &lt;/P&gt;&lt;P&gt;in c# I can do easily with below code. &lt;/P&gt;&lt;P&gt;How can i do in abap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; var xslt = new XslCompiledTransform();&lt;/P&gt;&lt;P&gt; xslt.Load(@"C:\2013000000007.xslt");&lt;/P&gt;&lt;P&gt; xslt.Transform(@"C:\2013000000007.xml", @"output.html");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;best regards. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 06:38:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-to-html-using-xslt/m-p/9811266#M1781364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-27T06:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: xml to html using xslt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-to-html-using-xslt/m-p/9811267#M1781365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Osman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do this with the CALL TRANSFORMATION command. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;&amp;nbsp; l_xml&amp;nbsp; TYPE string,&lt;/P&gt;&lt;P&gt;&amp;nbsp; l_html TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_xml = get_xml( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSFORMATION zxml2html&lt;/P&gt;&lt;P&gt;&amp;nbsp; SOURCE XML l_xml&lt;/P&gt;&lt;P&gt;&amp;nbsp; RESULT XML l_html.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if there is a XML output, you can specify, that the XSL-processor will do a HTML-output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create your XSL-Transformation with the transaction XSLT_TOOL. &lt;/P&gt;&lt;P&gt;You will have to respect some SAP specials, but I would try to import your existing XSLT and try to activate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Hendrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 08:09:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-to-html-using-xslt/m-p/9811267#M1781365</guid>
      <dc:creator>hendrik_brandes</dc:creator>
      <dc:date>2013-09-27T08:09:45Z</dc:date>
    </item>
  </channel>
</rss>

