Re: XSL Element testing whether empty, or not!

2002-11-21 Thread Oleg Tkachenko
Scherler, Thorsten wrote: I want to have the word Department in front of the value as soon as the is not empty. I figured out that the string-length(./department/text()) is 19 as soon . If is not empty is > 19. So I have written the following xsl (knowing that is a work around but not a solutio

XSL Element testing whether empty, or not!

2002-11-21 Thread Scherler, Thorsten
Hello group, newbie question: How can you test whether a Element contain information or not? I mean something like the DB command "is not Null" // "is null". Example: data.xml case 1) Elektro case 2) I want to have the word Department in front of the value as soon as the is not empty. I fig