mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-04 18:06:09 +08:00

Added Marcus von Cube's addition that allows to write very large files by using a transformation instead of ixml-handling in the string
25 lines
1004 B
XML
25 lines
1004 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<XSLT XSLTDESC="ZEXCEL_TR_SHARED_STRINGS" DEVCLASS="$TMP" LANGU="E" DESCRIPT="ZEXECL Simple transformation for SharedStrings.xml">
|
|
<source><?sap.transform simple?>
|
|
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
|
|
|
|
<tt:root name="ROOT"/>
|
|
<tt:root name="SHARED_STRINGS"/>
|
|
|
|
<tt:template>
|
|
<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
|
|
<tt:attribute name="count" value-ref="ROOT.COUNT"/>
|
|
<tt:attribute name="uniqueCount" value-ref="ROOT.UNIQUE_COUNT"/>
|
|
<tt:loop ref="SHARED_STRINGS">
|
|
<si>
|
|
<t>
|
|
<tt:value ref="STRING_VALUE"/>
|
|
</t>
|
|
</si>
|
|
</tt:loop>
|
|
</sst>
|
|
</tt:template>
|
|
|
|
</tt:transform></source>
|
|
</XSLT>
|