Re: [xsl] Multi-lingual website

Subject: Re: [xsl] Multi-lingual website
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
Date: Tue, 7 Aug 2001 11:12:55 +0100
On Tuesday, August 07, 2001 10:27 AM
Daniel Newman wrote

[...]

> can I pass the chosen language
> parameter from my ASP processing page direct to the XSL, or would it
be
> better to have three (assuming three languages) XSL files, selected by
the
> ASP?

I doubt if there's a general answer to that. Both methods are possible,
though if your XSLT is in any way elaborate it would seem more sensible
(for reasons of maintainability) to have a single XSL that would pull in
the appropriate language components depending on a passed-in parameter.
This would also probably make for a better workflow pattern.
Translators/language specialists could be kept well clear of the XSLT.

Michael
---------------------------------------------------------
Michael Beddow   http://www.mbeddow.net/
XML and the Humanities page:  http://xml.lexilog.org.uk/
---------------------------------------------------------


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread