xslt - WSO2 EI :
is not working in wso2 and the output remains in same line
问题描述
I am working on one transformation from xml to csv using xslt. All the code is working fine but I need to add a new line after one record and for that I am using in the xslt code.
<xsl:text>
</xsl:text>
Even after adding , still the result are coming into single line. Also,


gets disappear from the xslt code. Can some one please guide how to add a line at the end of the record in xslt in wso2 EI.
Thanks in advance. Can someone please check
解决方案
Have you tried <xsl:text>
</xsl:text>
?
Save it to a .xslt file and package it into a .car file and deploy that to the your wso2 EI.
Also be wary of what operating system you are writing the file to and what program you are using to view the file. If you are using Windows and viewing the file with notepad even though there are new line characters notepad will still display everything on one line.
推荐阅读
- reactjs - 使用分块工具上传 React 文档
- java - 改造接口反序列化
- git - 如何在不下载其父文件夹的情况下签出或克隆文件夹
- video - 使用 youtube-dl 和 ffmpeg 同时下载视频和音频片段
- flutter - 如何将图像保存到 Firebase 存储并将 URL 保存到 Firebase Firestore?
- java - 我应该升级 targetSDK 版本吗?
- r - 更新动态 dplyr (R) fun_ 函数
- javascript - 如何在新的 jsp 页面中检索 window.open() 的参数值(在 scriptlet 内)
- sql-server - 添加新的 Join 语句后 MS-SQL 存储过程引发错误。消息 102,级别 15,状态 1,第 279 行“WHERE”附近的语法不正确
- swift - 如何在 SwiftUI 中为一个导航链接设置多个目的地?