This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Some simple questions...
- From: "Oleg Tkachenko" <olegt at multiconn dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 23 Nov 2001 19:53:27 +0200
- 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?
>
> 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