This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Language translation


Maulik Modi writes:
 > I have an XML document in English and I want to transform its content to
 > French or German or whatever. IS there any way in XSL I can apply the
 > appropriate stylesheet to do this and how do I do it? I imagine there is a
 > dictionary out there which is what I am looking for.

do you really think that translation is  a 1-1 dictionary lookup job?
If so, it would be fairly easy in XSL. Write an identity transform,
and write a template for text() which loops over each word and does a
lookup from a second XML file. Pretty easy. It won't be what I call a
translation, though.....

Sebstian


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]