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]

xpath - check for no content


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


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