Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A-Z list links (qid=1328351 cont.) 1

Status
Not open for further replies.

meandering

Technical User
Oct 9, 2012
13
CH

Hi

After a long search I found thread 1328351 but it's closed. As k5tm is still active here, I hope he sees this or maybe somebody else can reply.

I integrated the last reply (7 Feb 07 11:28) into my xslt and get it to run without complaints. As I am a beginner I now should find out which part of his code to replace with my field name.

"My" original sort select was:
<xsl:sort select="translate(normalize-space(translation/translations/entry/value),'abcdefghijklmnopqrstuvwxyzäöüéèàç','ABCDEFGHIJKLMNOPQRSTUVWXYZAOUEEAC')"/>

But the sort still works when I shorten it to
<xsl:sort select="translation/translations/entry/value"/>
which is what the name field is called in the XML file.

It's normal text, A-Z, what I would like to do is insert a jump navigation so I can navigate to a certain letter in the alphabet, which would be the first letter of translation/translations/entry/value.

---

I will copy k5tm's reply below - my question is: where do I have to replace his "name" with my "translation/translations/entry/value"?

If there is a simpler solution by now I'm not at all against it!

Thank you :)
 
meandering said:
Could you advise them to introduce an edit button?

That is on the list of desired features. Not too close to the top of the list, though.

Tom Morrison
Micro Focus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top