|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: test if null
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::-*
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








