RE: Whitespace is not preserved

2008-01-28 Thread Wing Yew Poon
sible. So you haven't lost the original whitespace. -Original Message- From: ravikumar [mailto:[EMAIL PROTECTED] Sent: Sunday, January 27, 2008 10:35 AM To: user@xmlbeans.apache.org Subject: RE: Whitespace is not preserved Hi I am running into the same issue. setSavePrettyPrint() i

RE: Whitespace is not preserved

2008-01-27 Thread ravikumar
Hi I am running into the same issue. setSavePrettyPrint() is trimming the data in addition to indenting the xml.I am looking for an option not to trim the data, but still indent the xml. Thanks dmorales wrote: > > Hi, > > Can anyone tell me how to do anything like this?? I mean, how

RE: Whitespace is not preserved

2006-09-06 Thread dmorales
Hi, Can anyone tell me how to do anything like this?? I mean, how to "pretty print" from xmlcursor?? Thanks in advance Radu Preotiuc-Pietro wrote: > > Well, to be honest, the meaning of pretty print is that you give up space > preservation in order to get a document that's easier to re

RE: Whitespace is not preserved

2005-07-13 Thread Mark Lewis
JIRA improvement request for this, > with the priority you think it has, then of course, we appreciate all the > help we can get on it. > > Thanks, > Radu > > -Original Message- > From: Mark Lewis [mailto:[EMAIL PROTECTED] > Sent: Monday, July 11, 2005 4:55 P

RE: Whitespace is not preserved

2005-07-13 Thread Radu Preotiuc-Pietro
appreciate all the help we can get on it. Thanks, Radu -Original Message- From: Mark Lewis [mailto:[EMAIL PROTECTED] Sent: Monday, July 11, 2005 4:55 PM To: user@xmlbeans.apache.org Subject: RE: Whitespace is not preserved Hmmm, I wonder if it would be possible to alter the pretty printer

RE: Whitespace is not preserved

2005-07-11 Thread Mark Lewis
Hmmm, I wonder if it would be possible to alter the pretty printer to work even in this case. What if we check whether an element has leading/trailing whitespace that needs to be preserved, and selectively disable pretty-printing for that element only? Whitespace between tags wouldn't need to be

RE: Whitespace is not preserved

2005-07-11 Thread Radu Preotiuc-Pietro
Title: Message Well, to be honest, the meaning of pretty print is that you give up space preservation in order to get a document that's easier to read. If you care about spaces being preserved, you should _not_ use pretty print. They're exclusive and I am not sure how would they work togethe