Cenk Uysal wrote: > Hi, > > When I use Text serializer to get Text output, a need occurs. I want > to write a couple of outputs each of them in new lines. So how can I > prepare such a XSL? In other words what to do for a new line in XSL > of a text output.
This kind of question is better asked on the XSL list http://www.mulberrytech.com/xsl/xsl-list/ You can get newlines in text output (or any other output) by copying them from the input XML, or by using newlines from the style sheet. Newlines and any other whitespace adjacent to non-whitesspace characters is copied to the output. If you want to output a single newline, use <xsl:text>
</xsl:text> or <xsl:text> </xsl:text> (there is a newline there, look carefully) HTH J.Pietschmann --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>