W3C home > Mailing lists > Public > spec-prod@w3.org > January to March 2009

Re: question about td's

From: Doug Davis <dug@us.ibm.com>
Date: Wed, 28 Jan 2009 10:32:32 -0500
To: David Carlisle <davidc@nag.co.uk>
Cc: spec-prod@w3.org
Message-ID: <OF4DC1A657.0E8AE51A-ON8525754C.00552888-8525754C.005562BB@us.ibm.com>
Thanks David. 
I basically did what you suggested and added special logic 'phrase'. While 
I was in there I added logic to support a role to "bold" to add <b>'s 
around the text since <b> doesn't seem to be supported either.
It seems odd to me that certain things are not supported by default in the 
xsl - like <br/> or even <b>.  Would you (or anyone else) happen to know 
why such basic things were purposely excluded?

STSM  |  Web Services Architect  |  IBM Software Group
(919) 254-6905  |  IBM T/L 444-6905  |  dug@us.ibm.com

David Carlisle <davidc@nag.co.uk> 
01/28/2009 09:54 AM

Doug Davis/Raleigh/IBM@IBMUS
Re: question about td's

Depending on why you want line breaks it may make sense to have 

<phrase role="something">jg gasca</phrase>
<phrase role="something">kjhg kjyfg uft </phrase>
<phrase role="something">ausxh iquw qiwu  </phrase>

together with

<xsl:template match="phrase[@role='something']">
<xsl:if test="following-sibling::*"><br/></xsl:if>

in a local xsl file that imports the main one.


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
Received on Wednesday, 28 January 2009 15:33:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:42:18 UTC