[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Problem calling this template

Subject: Re: Problem calling this template
From: Steve <subsume@xxxxxxxxx>
Date: Tue, 18 Jul 2006 12:39:56 -0400
Re:  Problem calling this template
I have seen the light. $x/y/z[1] was it.

Would *never* have thought of that. I've got a ruby script filling a
text-file with the string "thanks!\r". You'll receive it when I feel
its adequate.


On 7/18/06, David Carlisle <davidc@xxxxxxxxx> wrote:

> , it goes back to > the top (but peculiarly skips the top record) and does this many > times.

<xsl:apply-templates select=".">

looks dangerous:-) It would of course be an infinite loop if the
parameters didn't change. I haven't actually checked what parameters are
being passed at this stage.

also, if you did intent to follow siblings during teh recursion, then
probably you only intended to start at the first Record rather than all
of them so change

<xsl:template match="/" >
       <xsl:apply-templates select="$services//Record">


<xsl:template match="/" >
       <xsl:apply-templates select="$services/Records/Record[1]">

(or whatever path is needed to select just one node)


Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.