Re: question about td's

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?

thanks
-Doug
______________________________________________________
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

To
Doug Davis/Raleigh/IBM@IBMUS
cc
spec-prod@w3.org
Subject
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:apply=templates/>
<xsl:if test="following-sibling::*"><br/></xsl:if>
</xsl:template>

in a local xsl file that imports the main one.

David

________________________________________________________________________
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