|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT 2: Best Way to Synthesize Elements Given List
At 2016-11-05 16:50 +0000, Dimitre Novatchev dnovatchev@xxxxxxxxx wrote:
I'd suggest this non-recursive solution: Personally, I classify this approach as recursive: <xsl:template match="*">
...
<xsl:apply-templates select="*"/>
...
</xsl:template>... as it isn't much different than the following: <xsl:function name="my:do-children" xmlns:my="urn:X-myFunctions">
<xsl:param name="children" as="element()*"/>
<xsl:for-each select="$children">
...
<xsl:sequence select="my:do-children(*)"/>
...
</xsl:for-each>
</xsl:function>But that's just me. . . . . . . . . Ken
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








