开发者

Need a linebreak in text while converting html to txt

I am using xslt to converting html to a text file. When I view it in notepad, the content is shown as a single line.

What shall I mak开发者_如何学Pythone it to display like a paragraph. What should be included in template match p, after taking content from p tag to make the next p tag content to display in next line?


To generate a line break in xslt you can do:

<xsl:text>
</xsl:text>

then the Linebreak between the tags should transfer to your textfile.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜