RE: [xsl] Some simple questions...

Subject: RE: [xsl] Some simple questions...
From: "Oleg Tkachenko" <olegt@xxxxxxxxxxxxx>
Date: Fri, 23 Nov 2001 19:53:27 +0200
> Q1: How do I test if an element is empty without using string-length?
>     In this situation:
>      ...
>       <aluno>
>           <nome></nome>
>           <curso></curso>
>       </aluno>
>       ...
>       I want to filter the whole subtree since every element inside it has
> null content
It depends on what do you mean by emptiness. In the above example <aluno> element has 5 child nodes, it's hardly "null content'.
You probably mean normalized string value, in this case you can use pattern "aluno[normalize-space() = '']".

> Q2: Is there a nice XSLFO processor binary that I can easily install on a
> Windows or Linux system?
FOP by apache?

Oleg Tkachenko,
Multiconn International, Israel 

 XSL-List info and archive:

Current Thread