|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Table <br/> conversion
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
|
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








