Re: [xsl] Writing array elements based on a an evaluation of one of the child elements

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) &gt; 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