This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: testing child elements for text
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 18 Jun 2002 22:36:49 +0100
- Subject: RE: [xsl] testing child elements for text
- Reply-to: xsl-list at lists dot mulberrytech dot com
<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