[xsl] xpath - check for no content

Subject: [xsl] xpath - check for no content
From: "sascha" <sascha@xxxxxxxxxx>
Date: Mon, 29 Jul 2002 17:43:38 +0200
Hi,

simple question i guess:
How do i check if the <run> element or one of it's childsren does not have
any content?
Meaning that there is no output text or so inbetween.

example:
<run>
<font size="17pt" style="bold" name="Arial" color="red"/>
<break/>
</run>

I tried
<xsl:if test="not(child::*/text())"><fo:block
space-before="1.2345cm"/></xsl:if>
but that didn't work. Problem is i need to create an additional linebreak
here...

Thanks,
Sascha


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


Current Thread