|
Subject: [xsl] select first word From: Jim_Albright@xxxxxxxxxxxx Date: Mon, 17 Dec 2007 19:00:35 -0500 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Uche Ogbuji, Michael Kay | Thread | Re: [xsl] select first word, Abel Braaksma |
| Re: [xsl] ANN: 'Testing XSLT' train, Tony Graham | Date | Re: [xsl] select first word, Abel Braaksma |
| Month |