Holge r: XML to CSV

Beitrag lesen

Sorry,

kann man auch nur mit xsl:if

<xsl:for-each select="//POI">
            <xsl:if test="@Sprache">
                    <xsl:value-of select="@Sprache"/>
            </xsl:if>
            <!-- test if child exist -->
            <xsl:if test="*">
                  <xsl:value-of select="$Trenner"/>
            </xsl:if>
            <xsl:for-each select="*">
                <xsl:value-of select="."/>
                <xsl:if test="not(position() = last())">
                    <xsl:value-of select="$Trenner"/>
                </xsl:if>
            </xsl:for-each>
 </xsl:for-each>