xsl-list
[Top] [All Lists]

Re: [xsl] alternative to repeatedly walking the ancestor axis in 1.0

2008-08-01 11:15:22
I wonder if there are any cunning solutions to this problem:

- An attribute which indicates right-to-left text can occur on any
element in the input
- All elements in the output beneath that element should then have a
certain style

For example:

<foo>
 <bar dir="rtl">
   <baz>...

Just in case to clarify things.
html's dir (css's direction) define object's reading order.
This is different from an indication of right-to-left text.
For example in left-to-right text one can easily inesrt right-to-left text:

hello שלום העולם world.

Direction in this case defines where the "." (dot)
should be rendered either from left or from right.
--
Vladimir Nesterovsky
http://www.nesterovsky-bros.com/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>