Subject: Re: [xsl] test if null From: -= jay =- <deepsweech@xxxxxxxxx> Date: Tue, 28 Jun 2005 16:03:48 +0800 |
hi i already solved it. i passed the value of <EMPTYNODE> into a variable then used java to proccess the logic =) though i tried analyzing the <EMPTYNODE /> through java. i passed it through variabale, performed length() on it. it returned "4", does it means it contains whitespaces? thanks On 6/28/05, Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx> wrote: > Hi Jay, > > I don't understand what you mean that it is not working. > The answer: <xsl:when test="EMPTYNODE[not(node())]"> that DC made - > and other various solutions in this thread - should have worked. > > If you cannot make this work, what kind of error does it give. If it > gives no output at all, are you sure you are in the right scope? > Saying "it is not working" does not give us much to work on. The > solutions given should work. > > As always, a small sample XML and stylesheet that clearly shows the > problem at hand would help us helping you. > > Regards, > Ragulf Pickaxe :-) > > On 6/28/05, -= jay =- <deepsweech@xxxxxxxxx> wrote: > > i tried this one and still its not working. > > > > my node would be either > > <EMPTYNODE /> if empty > > and > > <EMPTYNODE>XXXXXX</EMPTYNODE> if not empty > > > > now im checking if there is a value or not. > > thanks > > -- *-::jay::-*
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] test if null, Ragulf Pickaxe | Thread | RE: [xsl] test if null, Michael Kay |
Re: [xsl] test if null, Ragulf Pickaxe | Date | [xsl] XSL siblings, -= jay =- |
Month |