RE: XSL:FO - How to wrap non-word strings in table cel
Eliot wrote: > It would probably be useful for XSL FO implementations to > provide some > way to configure their behavior in these sorts of situations, but > anything like that would be outside the scope of what the FO > spec defines.
I wouldn't subscribe to adding any such features in this area.
The most often requested place is a table cell, so perhaps something like a hint to the processor, break-at="20" meaning if needed, presume a soft-hyphen at character position 20 within any word?
Yes, I suggest we should not go there.
Consider my example of wanting to break URLs at arbitrary locations (after each slash in my string). If "the way to do this" is with a break-at= property, then I'll have to *still* use a zero-width space and not be able to take advantage of the property.
It is my opinion that the insertion of the character is the most flexible and the "correct" way to address this need, and indeed I teach the use of this character in my lecture on "breaks and keeps".
In general I would be worried that throwing in a lot of special use properties would bog down an already large specification, and the evidence is that the working group does put a lot of thought into adding any new properties. I would hope that new properties would be general purpose in adding a feature usable in many situations rather than just special casing one particular situation (such as periodic breaking) out of a general case (breaking of lines).
I hope this helps.
-- Next public US delivery: 3-day XSLT/2-day XSL-FO 2003-10-13 Next public European delivery: 3-day XSLT/2-day XSL-FO 2003-11-?? Instructor-led on-site corporate, government & user group training for XSLT and XSL-FO world-wide: please contact us for the details
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-11-X Practical Formatting Using XSL-FO Member of the XML Guild of Practitioners: http://XMLGuild.info Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
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