woohoo!!! thanks a lot Doitsu!,
But, how about if there are two words and I only want to get the first word for my idx:key.
Example.
<p class="rev"><span class="textStyle12">
aluminum foil</span> <span class="textStyle25">알루미늄</span> <span class="textStyle13">441</span></p>
<idx:entry>
<p class="rev"><span class="textStyle12"><idx

rth>aluminum foil</idx

rth></span> <span class="textStyle25">알루미늄</span> <span class="textStyle13">441</span></p>
<idx:key key="
aluminum">
</idx:entry>