Subject: RE: [xsl] testing child elements for text From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Tue, 18 Jun 2002 22:36:49 +0100 |
<xsl:if test="*/node()"> Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > CROFT, MICHAEL > Sent: 18 June 2002 21:29 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > 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@xxxxxxxxxx > ********************************************************************** > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] testing child elements fo, Thomas B. Passin | Thread | [xsl] Hello World, Ingo Weiss |
Re: [xsl] testing child elements fo, Thomas B. Passin | Date | Re: [xsl] CDATA question, Mike Brown |
Month |