Re: [xsl] Templates not applied to output of document HTTP call

Subject: Re: [xsl] Templates not applied to output of document HTTP call
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 13 Sep 2012 14:53:25 +0100
On 13/09/2012 14:49, Ihe Onwuka wrote:
<xsl:template match="/"> <xsl:apply-templates
select="doc('http://blah')"/> </xsl:template>


That is an infinite loop the doc() function will return a document node
of the referenced document and then you apply templates and hit the same
template....

David


________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________


Current Thread