RE: binding int with leading spaces

2010-05-20 Thread Jason Berk
yeah, I solved it with a restriction -Original Message- From: Soumya [mailto:soumya_...@yahoo.co.in] Sent: Thu 5/20/2010 5:20 AM To: user@xmlbeans.apache.org Subject: Re: binding int with leading spaces Hello Jason, Did it solve your problem? otherwise u can deifine it as string and

Re: binding int with leading spaces

2010-05-20 Thread Soumya
Subject: RE: binding int with leading spaces Duh? -Original Message- From: Jason Berk [mailto:jb...@purdueefcu.com] Sent: Tuesday, May 11, 2010 9:38 AM To: user@xmlbeans.apache.org Subject: binding int with leading spaces

RE: binding int with leading spaces

2010-05-11 Thread Jason Berk
int with leading spaces This is more of a general XML question. I have fields like this in my XML: 123456 123456789 The amount of leading white space is variable. How can I bind to that element as an INT? Currently, I'm using TOKEN to ignore the whitespace, but then I ha

binding int with leading spaces

2010-05-11 Thread Jason Berk
This is more of a general XML question. I have fields like this in my XML: 123456 123456789 The amount of leading white space is variable. How can I bind to that element as an INT? Currently, I'm using TOKEN to ignore the whitespace, but then I have to cast in code to INT. Is t