XSLT to find the next element's type
<xsl:template match="//*"> <xsl:for-each select="."> <xsl:if test=".!=''"> <xsl:apply-templates/> <xsl:if test="not(boolean(following-sibling::node()[1][self::text()]))"><br/></xsl:if> </xsl:if> </xsl:for-each> </xsl:template>
No comments:
Post a Comment