[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xpath - check for no content

Subject: xpath - check for no content
From: "sascha" <sascha@xxxxxxxxxx>
Date: Mon, 29 Jul 2002 17:43:38 +0200
xpath check 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.