Writing new lines to file (OSB)

In this post..  

I hope to describe how to insert a new line into an output used by osb, Reporting, Alerts, Log's 

Possible uses:

  • When writing out to a file, you may wish to insert new lines.
  • When alerting, reporting, logging, you may wish to insert new lines into all three outputs. 

Lets Begin..

It's actually surprisingly simple when you know how, it is a simple piece of text you need to enter into your XQuery, it is:




This needs to be placed inside speech marks, or whatever you are using to create your string. For example:

fn:concat('I am on line one',  

'I am still on line one' , 

'
', 

'I am on line two')

Don't forget to read the 'Writing text to a file' post, which will show how you can write this out to a file.