Re: XSLT/CSS border style - setting length of dashes
How does one control the specifications for the various border styles for tables, etc. I know how to select the line styles - solid, dashed, double, groove, etc and the line widths - but can finer control for each of these be defined?
Only if provided by the vendor.
I want to modify the length of dashes and the spacing between dashes for the 'dashed' style.
Such a length is at the choice of the vendor. If they wish to offer to users control over such nuanced properties, they could do so by offering extensions for users to specify what they wish.
I can't find anything in the W3C XSLT specification, apart from the fact that you specify those names for border style and that CSS properties apply.
Quite the opposite from what you want: both HTML and XSL-FO specifications are loose enough even to allow a conforming implementation to interpret 'dotted', 'dashed', 'double', 'groove', 'ridge', 'inset', and 'outset' to be 'solid'. So all the effort you go to for one implementation might be totally ignored, even to the aspect simply of being dashed, by another conforming engine.
I'd like to know if this is possible for FO and HTML output.
Not per the specification, only through vendor-defined extensions.
I'm using DocBook 5 with XEP
Then ask the RenderX folks if they offer such control.
and Saxon 6.5.5.
That is irrelevant and you would be safe using it as you wish.
I hope this helps.
. . . . . . . . . . Ken
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