Birgit: XSL-Tabelle

Beitrag lesen

Hallo zusammen,

ich schlage mich immer noch mit dem gleichen Problem herum. Wie bekomme ich aus folgender XML-Datei (Ausschnitt) folgende Ausgabe:

1. Often
2. From time to time
3. Rarely
4. Never
5. DK
0. NA

Hier die XML-Datei dazu:
...
<dataDscr>
  <var name="V38">
   <location StartPos="124" width="1"/>
   <labl>Q3 POL DISCUSSION - CONVINCE FRIENDS</labl>
   <qstn ID="Q.3">
    <qstnLit>When you hold a strong opinion, do you ever find yourself persuading your friends, relatives or fellow workers to share your views? Does this happen ...? (READ OUT)</qstnLit>
    <backward>Last trend: EB47.0  Q.3</backward>
   </qstn>
   <catgry>
    <catValu>1</catValu>
    <txt>Often</txt>
   </catgry>
   <catgry>
    <catValu>2</catValu>
    <txt>From time to time</txt>
   </catgry>
   <catgry>
    <catValu>3</catValu>
    <txt>Rarely</txt>
   </catgry>
   <catgry>
    <catValu>4</catValu>
    <txt>Never</txt>
   </catgry>
   <catgry missing="Y">
    <catValu>5</catValu>
    <txt>DK</txt>
   </catgry>
   <catgry missing="Y">
    <catValu>0</catValu>
    <txt>NA</txt>
   </catgry>
   <catgry>
 ...

Bis jetzt konnte mir noch keiner weiterhelfen. Ich hoffe das ändert sich, ich bin nämlich schon ziemlich frustriert und komme nicht weiter! Danke schonmal!

Birgit