Vous trouverez ici un exemple pour un fichier d'exportation XML de la structure d'un objet Feuille de style.
Exemple :
<?xml version="1.0" encoding="ISO-8859-15"?> <uc-export clientvers="11.2.0-dev+main.build.969"> <XSL name="XSL.SAP.APPLICATIONLOG"> <HEADER state="1"> <Title/> <ArchiveKey1/> <ArchiveKey2/> <OH_SubType/> </HEADER> <XSL state="1"> <DOC><?xml version="1.0" encoding="iso-8859-15"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="job"> <div style="color:green;font-weight:bold;font-size:1em">Application Log <xsl:value-of select="step/appllog/E_TXT_OBJECT"/> - <xsl:value-of select="ApplLog/E_TXT_SUBOBJECT"/> for Job <xsl:value-of select="@jobname" />/<xsl:value-of select="@jobcount" /></div><br/> <div style="color:blue;font-weight:bold;font-size:1em">Total number of messages <xsl:value-of select="appllog/E_BAL_STATISTIC/MSG_CNT_AL" /></div><br/> <table border="1" style="background-color:rgb(230,230,230)"> <xsl:for-each select="step/appllog"> <xsl:for-each select="BAPI_T_APPLOG_MESSAGE/item"> <tr> <td><xsl:value-of select="BAL_MESSAGE/MSGID" /></td> <td><xsl:value-of select="BAL_MESSAGE/MSGNO" /></td> <td><xsl:value-of select="BAL_MESSAGE/MSGTY" /></td> <td><xsl:value-of select="TXT_MSG" /></td> </tr> </xsl:for-each> </xsl:for-each> </table> </xsl:template> </xsl:stylesheet>]]></DOC> </XSL> <DOCU_Docu state="1" type="text"> <DOC/> </DOCU_Docu>
Rubriques connexes :
Structure du fichier d'exportation
Structure des fichiers XML pour l'importation et l'exportation