xforms:output missing newlines

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

xforms:output missing newlines

RdeBeijer
Hi,

I have a problem that my new line characters seem to disappear in a
xforms:output is this a known issue or should i specify somewhere that
it shouldnt remove the new lines?

Regards Ramon


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: xforms:output missing newlines

Steve Bayliss
That's part of the html/xhtml spec - whitespace characters are collapsed.

If you want a line break, then output <br/>

-----Original Message-----
From: Ramon de Beijer [mailto:[hidden email]]
Sent: 04 March 2009 11:03
To: [hidden email]
Subject: [ops-users] xforms:output missing newlines


Hi,

I have a problem that my new line characters seem to disappear in a
xforms:output is this a known issue or should i specify somewhere that
it shouldnt remove the new lines?

Regards Ramon



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms:output missing newlines

Alessandro Vernet
Administrator
In reply to this post by RdeBeijer
Ramon,

On Mar 4, 2009, at 3:02 AM, Ramon de Beijer wrote:

> I have a problem that my new line characters seem to disappear in a  
> xforms:output is this a known issue or should i specify somewhere  
> that it shouldnt remove the new lines?

Like Steve said, you can insert <br/> instead of the newlines. In some  
cases, this is hard to do, so an alternative is to have a <pre> around  
your <xforms:output>.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws