This one time, at band camp, Rohit Vinayak said:
RV>A quick question.
RV>I have an xml element which contains either yes or no. example
RV><delete>yes</delete>
RV>
RV>or <delete>no</delete>
RV>
RV>I want to map <delete> to an object atrribute of type boolean. Is this
RV>possible?
RV>or... should the element contain true/false or 0/1 for boolean mapping.
Rohit,
IMHO, the use of yes/no is a String. If you really want a Boolean you'll
need to map to true/false or 0/1.
Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev