[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: test if null

Subject: Re: test if null
From: -= jay =- <deepsweech@xxxxxxxxx>
Date: Tue, 28 Jun 2005 16:03:48 +0800
java test for 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::-*

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.