Posted: Mon Jun 04, 2007 7:02 am Post subject: CR/LF in XSL Transformation Node
Voyager
Joined: 26 Mar 2004 Posts: 76
I'm using XSL stylesheets to transform messages in XMLNS format to legacy text data. I'm using XMLTransformation Node in the WBIMB 6.0 for transformation.
I'm using the following code template to output CR/LF data to format the output message.
The problem is that this template code doesnt work when it is used in the stylesheet. Also the message flows using these stylesheets are deployed in both Windows & Unix environment, and hence the CR/LF code has to work in both environments.
I've also included explicit line breaks in my stylesheet (by pressing "ENTER" key) for readability. These line-breaks get seen in the output when i run these stylesheets externally using Java test programs (using Xerces API). But when these same stylesheets are used in the Broker node even these explicit line-breaks dont get outputted.
In short, the problem is, "How to output CR/LF characters (both Windows & Unix) in the text output produced by the stylesheets deployed in WBIMB?. Has anyone tried it, and does anyone has a code snippet/template or suggestion?"
Joined: 22 May 2006 Posts: 45 Location: IBM Hursley
When you say it is not working, do you mean not working on Unix only or both? What makes you think it is not working? I did your test on my Windows machine and checked the output message (binary data). I do see 
. _________________ Regards,
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum