Hi Vinh, There is a schema attribute whitespace=preserve you can use when defining the string type in your xsd. -jacobd
On 11/1/07, Vinh Nguyen (vinguye2) <[EMAIL PROTECTED]> wrote: > > Hi, > I have an XmlBeans-generated object with a string property. I'm trying > this property with a string value that has multiple contiguous spaces, and > then retrieve that string with the spaces preserved. How can I achieve > this? Currently, the contigous spaces are being compressed to a single > space when I retrieve the value. > -Vinh >

