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

Re: question about td's

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 28 Jan 2009 14:54:49 GMT
Message-Id: <200901281454.n0SEsnnu031461@edinburgh.nag.co.uk>
To: dug@us.ibm.com
Cc: spec-prod@w3.org


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 14:55:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:19:14 GMT