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(_at_)yahoo(_dot_)fr>
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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 réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son
interface révolutionnaire.
http://fr.mail.yahoo.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--