Subject: [xsl] the fastest way to test if variable is empty From: Dusan Zatkovsky <zatkovsky@xxxxxxxxxxxx> Date: Wed, 8 Dec 2004 16:20:30 +0100 |
Hi all. Can anybody tell me the fastest way, how to test, if variable contains some text or number? For now, i am using test "string-length($variable)=0", but seems not to be the fastest. Somebody tells me to use test "$variable", but with my XalanC, it seems to be true everytime. Thanks. PS. variable can't contain nodes, it may contains only alphabetics or numbers and whitespaces. -- S pozdravom, Dusan Zatkovsky
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Problem with newline char, David Carlisle | Thread | RE: [xsl] the fastest way to test i, Michael Kay |
Re: [xsl] Defining a key on a RTF i, Mukul Gandhi | Date | Re: [xsl] Defining a key on a RTF i, David Carlisle |
Month |