How to enter new line character

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

How to enter new line character

Vinod Sherikar

I have a REST service which returns xml

 

In Actions editor window, for a particular control the source xpath expression is as below

 

concat(/root/caseinfo[1]/secondaryprocedures[1]/name,' newline char ',/root/caseinfo[1]/secondaryprocedures[2]/name)

 

The control is a text box containing a list of procedures, each procedure has to be shown on newline

 

What character does orbeon recognize to enter a newline character?

 

Thanks,

Vinod S

 

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: How to enter new line character

Alessandro  Vernet
Administrator
Hi Vinod,

It's a bit tricky; the safest thing is to use codepoints-to-string(10), i.e. concat('foo', codepoints-to-string(10), 'bar').

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet