Chapter 9. Querying XML


 <xsl:template name="child-query">  <xsl:with-param name="parent" select="`Daddy' "/> <xsl:value-of select="concat(`But, why',$parent,'?')"/> <xsl:apply-templates select="reasonable_response"/> <xsl:call-template name="child-query">  <xsl:with-param name="parent" select="$parent"/> </xsl:call-template> </xsl:template> <!-- Parents not recognizing tail recursion may risk blowing their stack. -->




XSLT Cookbook
XSLT Cookbook: Solutions and Examples for XML and XSLT Developers, 2nd Edition
ISBN: 0596009747
EAN: 2147483647
Year: 2003
Pages: 208
Authors: Sal Mangano

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net