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]

RE: Some simple questions...


> 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:  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]