xsl-list
[Top] [All Lists]

RE: xsl/xml transformation to text-format with all breaks

2002-10-01 09:00:01
Use <xsl:text>&#xa;</xsl:text> to output a newline.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
abdolah(_at_)freenet(_dot_)de
Sent: 01 October 2002 11:10
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] xsl/xml transformation to text-format with all breaks



hello,
I'm working with saxon to Transform xsl/xml-file to Text-Format
In the Head of my xsl-stylesheet i used:
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:output method="text" indent="yes"/>
.....
As Rsesult of transformation  with command :
saxon -o filename.txt filename.xml filename.xsl
i get a file(flename.txt) which has a structure like this:
line1line2line3line4line5...........line100
I' will but to get all breaks(for example <br>-tags or 
table-rows) in my document :
line1
line2
line3
..
line 100
could somebody help me, how i get all line-breaks in my resultfile?
I thank at advance
Amad


--
Neue Freunde finden!
Spielend in Kontakt kommen und neue Freunde finden in der 
freenet.de Community!
Jetzt durchstarten unter: http://www.freenet.de/tipp/community/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>