This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Some simple questions...
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Sat, 24 Nov 2001 10:57:53 -0000
- Subject: RE: [xsl] Some simple questions...
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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