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

Subject: Re: [xsl] alternative to repeatedly walking the ancestor axis in 1.0
From: "Vladimir Nesterovsky" <vladimir@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 1 Aug 2008 19:14:49 +0300
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 W)WWW WW"WWW 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/


Current Thread