[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Table
Re: [xsl] Table
conversion
Subject: Re: [xsl] Table <br/> conversion From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 20 Feb 2004 09:47:17 GMT |
Do anyone of you know how to enable an item in a table to go to next line without using <br/> Just decide what html markup you want, and then get xslt to produce it. XSLT knows _nothing_ about rendering html. If you are doing the xsl, if you used <xsl:value-of select="' '"/> in the table, it won't works. It won't go to the next line. That produces a newline in teh html file but if you have an html file of one two three then it will render as one two three as in html newlines render as a space unless they are in a <pre> element or some equivalent css. So to get a newline in the output you just need to make a newline in your file (as you have done) togetjer with some markup such as pre or a css class on the table entry and a css rule setting the white space property to preserve newlines, or you need to use markup, eith a br or wrap each paragraph in a p or div. -- http://www.dcarlisle.demon.co.uk/matthew ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Table <br/> conversion, Aaron Lim | Thread | RE: [xsl] Table <br/> conversion, Andrew Welch |
RE: [xsl] Re: Re: Counting nodes ef, Dimitre Novatchev | Date | Re: [xsl] Problem using document() , David Carlisle |
Month |