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

RE: Some simple questions...

Subject: RE: Some simple questions...
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Sat, 24 Nov 2001 10:57:53 -0000
mike todd windsurfer
> Q1: How do I test if an element is empty without using string-length?

You can test if an element has no children with test="not(node())". You can
test if its string-value is zero length with test=".=''". They aren't the
same thing, for example <td><i></i></td> passes one test but not the other.

Mike Kay
>
>     In this situation:
>      ...
>       <aluno>
>           <nome></nome>
>           <curso></curso>
>       </aluno>
>       ...
>       I want to filter the whole subtree since every element
> inside it has
> null content
>
> Q2: Is there a nice XSLFO processor binary that I can easily
> install on a
> Windows or Linux system?
>
> TIA
> jcr
> --------------------------------------------------------------
> --------------
> --------------------------------------------------------------
> --------------
> ---
> José Carlos Ramalho                                   orienteer
> Dep. Informática - U.Minho                          windsurfer
> http://www.di.uminho.pt/~jcr                         engineer
> +351 253 604479
> --------------------------------------------------------------
> --------------
> -----
>
>
>  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

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.