on 10-06-2006 7:34 PM
Does anyone know the correct Java syntax for checking if a node exist. I know I can check for a value being empty with if (strVal.equals("")) but I want to see if the node exist for the value coming into the User-Defined function. I basically want to dupliate the existing function called "Exists" inside a User_Defined function.
Hi,
You can check like strVal.equals(null).
Thanks,
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prakash,
I tried this but it appears that if I map a element into a UD function, regardless of the code inside, if the mapped node does not exist then it suppresses all outputs. I want to feed a value into the UD and if the node exist do one thing else do something else.
Thanks for the help.
Regards,
Joe
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.