Subject:xslt sort help Author:catta k Date:20 Aug 2009 04:22 AM
i am completely lost with xslt (the whole lot of it) i can't give an exact question as to what i need (since i dont /know/ what i need) but i can post what the end result needs to be & what i have so far.
basically it's a translation dictionary (ie spanish to enlgish or whatever) & i have to create an output that displays the word's initial, the word, & it's translation into another language.
the desired xml output is:
<?xml version="1.0" encoding="UTF-8"?>
<Dictionary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="task2.xsd"
from="nl"
to="es">
<translation initial="1">
<search>1984</search>
<replace>Mil novecientos ochenta y cuatro</replace>
</translation>
<translation initial="A">
<search>A Clockwork Orange</search>
<replace>La naranja mecánica</replace>
</translation>
<translation initial="A">
<search>A Few Good Men</search>
<replace>A Few Good Men</replace>
</translation>