Subject: Re: [xsl] Writing array elements based on a an evaluation of one of the child elements From: neil cave <coraltrees@xxxxxxxxxxx> Date: Wed, 24 May 2006 13:19:41 +0000 (GMT) |
Hi Problem solved with... <xsl:for-each select="//ACCOUNT-LIST"> <xsl:if test="string-length(ACCOUNT-NO) > 0"> <xsl:element name = "ACCOUNT-LIST"> <xsl:copy-of select="*"/> </xsl:element> </xsl:if> </xsl:for-each> Thanks for all your help. This response from this list is always fantastic. Thanks guys ----- Original Message ---- From: Florent Georges <darkman_spam@xxxxxxxx> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Sent: Wednesday, 24 May, 2006 3:03:12 PM Subject: Re: [xsl] Writing array elements based on a an evaluation of one of the child elements neil cave wrote: > therefore looking at the example below, I want to only have > the first 2 occurences of the ACCOUNT-LIST appear in my result > XML I Get ... > [...] > XML I WANT... > [...] Do you mean your "example" is the output you get, not an input sample? --drkm ___________________________________________________________________________ Yahoo! Mail riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son interface rivolutionnaire. http://fr.mail.yahoo.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Writing array elements ba, Florent Georges | Thread | Re: [xsl] Writing array elements ba, Wendell Piez |
Re: [xsl] What's wrong with this ke, Ferdinand Soethe | Date | Re: [xsl] XPath "none" /type/ not a, Frans Englich |
Month |