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

Re: Writing array elements based on a an evaluation of

Subject: Re: Writing array elements based on a an evaluation of one of the child elements
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Wed, 24 May 2006 14:06:33 +0200 (CEST)
Re:  Writing array elements based on a an evaluation of
neil cave wrote:

>  <xsl:template match = "ACCOUNT-LIST"> 
>    <xsl:if test="string-length(ACCOUNT-NO/text() > 0)">
>    <xsl:element name = "ACCOUNT-LIST">
>                        <xsl:for-each select="."/>
>             </xsl:element>
>        </xsl:if>
>  </xsl:template>

> and this writes a whole bunch of empty <ACCOUNT-LIST> elements 
> Which I guess is happening because somehow I'm not refering to the
> correct occurence of the ACCOUNT-NO child node I'm dealing with? And
> I'll need some xsl:for-each logic

  Could you please provide a minimal example of an input tree that
reproduce the problem with that template rule?

  Regards,

--drkm























	

	
		
___________________________________________________________________________ 
Yahoo! Mail riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son interface rivolutionnaire.
http://fr.mail.yahoo.com

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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-2011 All Rights Reserved.