xsl-list
[Top] [All Lists]

Re: [xsl] Replacing substring with value during transform

2012-09-14 06:01:55
On 13/09/2012 16:12, Florent Georges wrote:
   Basically, {#User#} is replaced by <user/> or by <text name='user'/>
which also allows to add "parameters" to internationalized parts in a
natural way.

Ah, nice. I need to think about it a bit, as the localised messages are
substituted from a single file throughout the Java code, and a servlet
filter translates i18n stuff in Javascript files and suchlike. But it's
a very neat approach. Many thanks.

--
John English

--~------------------------------------------------------------------
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>