starting with
<input>
<le>Saint, sainteti</le>
<le>Timoignage, timoigner, timoin</le>
<le>Tablettes de l'alliance</le>
<le>Satan</le>
</input>
I want
<output>
<le>Saint</le>
<le>Temoignage</le>
<le>Tablettes</le>
<le>Satan</le>
</output>
I have
<xsl:value-of select=
"translate(.,'abcdehijklmnorstuvyz{|HIJKA@','aaaaaeeeeiiiioooooEEEEAA')"/>
to translate the accents to the unaccented words
and
<xsl:value-of select="substring-before(.,' ')"/>
<xsl:value-of select="substring-before(.,',')"/>
will select just the first word.
So how do I put this together?
Jim Albright
704 843-0582
JAARS, Speeding Bible Translation
Wycliffe, Partners in Bible Translation
|