Project

Profile

Help

Bug #5739 » sheet1.xsl

Martin Honnen, 2022-11-20 17:18

 
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="3.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="#all"
expand-text="yes">
<xsl:output indent="yes"/>

<xsl:template match=".[. instance of map(*)]">
<Details>
<xsl:iterate select="?employee?id?*">
<name indexarray="{position() - 1}">{if (. = '') then ' ' else .}</name>
</xsl:iterate>
</Details>
</xsl:template>
</xsl:stylesheet>
(2-2/4)