Hi!
I am trying to create a multilanguage application in XHTML.
The mechanism works like this:
source_neutral.xhtml:english.xml:Code:<p>...</p><p translate="true">Yes</p>
greek.xml:Code:<lang id="Yes">Yes</lang>
and then, output will be in englishCode:<lang id="Yes">Ναι</lang>or greekCode:<p>...</p><p>Yes</p>.I can do this with javascript.Code:<p>...</p><p>Ναι</p>
Can I do this with XSLT?
Files are:
xslt_transformator.xml
source_neutral.xhtml
english.xml
greek.xml
So the question is: How can I process an XML file (source_neutral.xhtml) with a XSLT (xslt_transformator.xml) with another file as data (english.xml)?


Reply With Quote
Bookmarks