This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Use <xsl:text>&#xa;</xsl:text> to output a newline.

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com 
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of 
> abdolah@freenet.de
> Sent: 01 October 2002 11:10
> To: XSL-List@lists.mulberrytech.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]