<transformer>element has with a mandatory attribute
data-source. The is the name of the data-source without file-extension. For example, if you have a file
my-data-source.xmlin the data-sources directory, then the correct attribute value is
<xslt-file>element is optional. If omitted, the data-source will be returned without XSLT transformation. The
nameattribute in XSLT file element is mandatory. It is the file-name of an XSLT file including the file-extension. Possible file extensions are ".xslt" or ".xsl".
content-typeelement sets the mime-type of the generated output. The
typeattribute is mandatory. The value of this attribute is the mime-type that shall be set. If no content-type were set, heuristics are used by Endpoints to guess an appropriate content type.
<tr>elements and within them
<td>are inspected to see if they look like a number, in which case an Excel "number cell" is produced, otherwise an Excel "text cell" is produced.
<convert-output-xml-to-excel input-decimal-separator="xxx">affects how numbers in the input HTML document are parsed.
<td>data are taken over the to Excel cell formatting. That is to say,
<td>12.20</td>will produce an Excel number cell containing the value 12.2 with the Excel number format showing two decimal places, so will appear as 12.20 in the Excel file.
<td colspan="2">, is respected.
style="text-align: center"(Right align etc. is not supported)
style="border-top:"(Bottom borders etc. are not supported)
style="color: orange"(Other colors are not supported.)
<tbody>are respected. (Elements in
<tfoot>sections will appear at the bottom of the Excel file, no matter what order the tags come in in the HTML.)
<table>which appears inside a
<td>is ignored (i.e. tables may be nested in the HTML, only the outermost table is present in the resulting Excel file.)
<script>elements are ignored