|
Subject: Re: Checking for existence From: Warren Hedley <w.hedley@xxxxxxxxxxxxxx> Date: Fri, 30 Jun 2000 09:31:14 -0400 |
alex chang wrote:
>
> What I want to do is to print the text of all the children of <row-header>,
> but only if <st-header> does not exist. So in the above, I would -not- print
> anything. Is there a way to do this?
Hi Alex
<xsl:template match="row-header">
<xsl:if test="not(st-header) or normalize-space(st-header)=''">
<xsl:apply-templates select="*[not(self::st-header)]" />
</xsl:if>
</xsl:template>
Something in here should do what you want!
--
Warren Hedley
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Checking for existence, alex chang | Thread | RE: How to create xsl-stylesheet pr, Trevor de Koekkoek |
| Re: How to create xsl-stylesheet pr, Warren Hedley | Date | RE: How to create xsl-stylesheet pr, Trevor de Koekkoek |
| Month |