|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Whitespace again
Maybe i am stupid but i can´t do it !! I have a xml documnet: <text>line 1 line 2 </text> ( There is linebreak in the text() - Element !!!! ) and a xsl document: <xsl:template match="text"> <textarea id="input" name="mytext" rows="5" cols="30" wrap="physical"> <xsl:value-of select="text()"/> <textarea> </xsl:template> My problem is that in the html output there is no linebreak. Reading the Working-Draft (WD-xsl-1998-1216, i use xsl:p), i found out that there is something like xsl:preserve-space etc. but i don´t understand how to use it. Could anybody give me an example / solution..... ? -- Blue Mars Interactive http://www.bluemars.de Joerg Bauer mailto: jb@xxxxxxxxxxx Lersnerstrasse 23 Tel. +49 (0)69 959 42-400 60322 Frankfurt/M. Fax +49 (0)69 959 42-420 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








