Subject: Re: [xsl] For-each loop or recursion From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 16 May 2005 10:08:26 +0100 |
"legal XPath expression that selects all elements called myarray that have a child element called i." Iam sure Dave had his reasons for his above statement. The main one being that this is what the Xpath selects. Below is my understanding of the problem. myarray[i] selects the i'th myarray child of the context node. So if your xml looks like this: You have guessed here that "myarray" is to be taken literally as the part of the Xpath but "i" is not part of the XPath but a meta-variable that is just part of the email message and should be replaced by a number. It's possible that that's what the original poster meant but it's not what he said. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] For-each loop or recursio, omprakash . v | Thread | Re: [xsl] xsl:apply-templates behav, omprakash . v |
Re: [xsl] For-each loop or recursio, David Carlisle | Date | [xsl] flat XML to normal XML, Borut Bolčina |
Month |