This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: testing child elements for text


<xsl:if test="*/node()">

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com 
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of 
> CROFT, MICHAEL
> Sent: 18 June 2002 21:29
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] testing child elements for text
> 
> 
> I need to see if an element has children that contain data....
> 
> 	<InsClaimsAdverseClaimantContact Id="1-16J9D">
> 					
> <ListOfAmicaContactServiceProvider/>
> 					
> <ListOfInsClaimsAdverseClaimant/>
> 	</InsClaimsAdverseClaimantContact>
> 
> What is a way to test if the parent element has any children 
> that actually have data?  I will only process the parent if 
> it has children that contain data.
> 
> Mike
> 
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential 
> and intended solely for the use of the individual or entity 
> to whom they are addressed. If you have received this email 
> in error please notify the sender and postmaster@amica.com.
> **********************************************************************
>  
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]