adiemeer
asked on
Exporting text form XSLT-file
Hi,
We have created a web application using HTML and XSLT-files for texts. Now all the texts are in Dutch and have to be translated in English. The company that translates the texts is not able to deal with the XSLT-format. Is there a way to export only the texts from the XSLT-file? Below an example to make this clear.
Suppose the xslt file contains: <xsl:if condition="True">This is a text</xls-if> then I only want 'This is a text' in the export.
Regards,
Arne
We have created a web application using HTML and XSLT-files for texts. Now all the texts are in Dutch and have to be translated in English. The company that translates the texts is not able to deal with the XSLT-format. Is there a way to export only the texts from the XSLT-file? Below an example to make this clear.
Suppose the xslt file contains: <xsl:if condition="True">This is a text</xls-if> then I only want 'This is a text' in the export.
Regards,
Arne
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
and yes... you can transform your XSLT using XSLT to put the functions in place ;-) (that is what I would do)
ASKER
Thanks!
make each text a function call (or a template call) and let the function pull out the string from a language dependent lookup...
very flexible (mainly if you make a parameter for the language)
It would be breeze to add a third language after