[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Dynamically determining line wraps in HTML table c

Subject: Re: Dynamically determining line wraps in HTML table cell output
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Apr 2019 07:45:24 -0000
Re:  Dynamically determining line wraps in HTML table c
On Tue, 2019-04-23 at 01:48 +0000, Larry Hayashi lhtrees@xxxxxxxxx
>  Are there ways to calculate width
> using XSL other than just string length?

If by XSL you mean XSLT, therebs some sneaky ways - for example, making
an XML version of font character widths and ignoring kerning &
ligatures will get you a long way with most Western languages and

If by XSL you mean to include XSL-FO, you can use Tony Graham's area
tree extension in Antenna House Formatter to get an XML rendition of
text. Another way to achieve what you want might be to use ruby
annotations to do your interlinear gloss, but i donbt know whether you
can import the result into Microsoft Word easily. You could generate MS
Wordbs XML with Ruby annotations in it though - see e.g.

The advantage of using Ruby is that Word will then break groups of
lines together, as you need.


Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Web slave for vintage clipart http://www.fromoldbooks.org/

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.