|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] FO: borders and background for inline areas
Hi!
Question: what is the right way for drawing a border around
one word in a text with XSL Formatting Objects?
A spontaneous answer would be:
<fo:inline-sequence border="thin solid black">
word
</fo:inline-sequence>
but it is stated in the WD that <fo:inline-sequence> does not produce
any area, and serves only as a carrier to specify inheritable properties.
So the solution is wrong: 'border' is not allowed on inline-sequences.
One more solution is:
<fo:bidi-override direction="ltr" border="thin solid black">
word
</fo:bidi-override>
which is correct but weird: we are far beyond the scope
of <fo:bidi-override>. I have an impression this is kinda
abusive.
I have a strong feeling that XSL FO lacks an object whose
central task is to bind arbitrary inlines into a single
inline-area. Am I right? If yes, what is the suggested
temporary solution at the moment for problems like the
one above:
- stick to <fo:bidi-override>;
- extend <fo:inline-sequence> semantics, making it create an area;
- invent a fresh element as a proprietary extension?
Regards,
Nikolai Grigoriev,
RenderX
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
|

Cart








