Hi, I am using xmlBeans in a project. It is discovered that even if we put <xsi:attribute name="browser" use="required"> <xsi:simpleType> <xsi:restriction base="xsi:string"> <xsi:whiteSpace value="preserve"/> </xsi:restriction> </xsi:simpleType> </xsi:attribute> in the schema. Where as while saving newline is retained in attributes. While loading the xml parser is still replacing Whitespace(i.e Newline/linefeed) chars with spaces in string attribute. We need those new lines.
RespondentDocument propDocument = RespondentDocument.Factory.parse(xmlFile); Can anyone suggest me how to overcome this issue. thnx Sarjay ____________________________________________________________________________________Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]