RE: [xsl] FO to format unstructured XML containing "tabs"

Subject: RE: [xsl] FO to format unstructured XML containing "tabs"
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Dec 2003 17:33:38 -0500
At 2003-12-19 11:54 -0500, Kyle Partridge wrote:
My XSLT will wind up being complicated anyway,
but even more-so I guess because I want to differentiate between
"systematic" use of tabs (calling for a table treatment) and
"incidental" use of tabs (calling for leader treatment).  I'm not sure
what "rule" I can use to ascertain which is appropriate, but if I can
come up with something that looks decent 75% of the time, I guess I'm
happy...for now.

Sounds like you have a plan.


Does this seem reasonable or ridiculous to you?

If it sounds reasonable to you, then it must be what you need. My objective was to get you to think about your end result *before* thinking about your stylesheet.


Each approach will give you different features based on wrapping and I think would give you an identical result if all of your fields were short. So you'll have to decide based on the long strings, which from your earlier posts hadn't appeared to be considered.

...................... Ken

--
North America (Washington, DC): 3-day XSLT/2-day XSL-FO 2004-02-09
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



Current Thread