Birgit: Tabelle

Beitrag lesen

Du möchtest also mein falsches Ergebnis mit o.a. XSL-Datei sehen? Na gut! Hier ist es (Ausschnitt):

...
Q3 POL DISCUSSION - CONVINCE FRIENDSWhen 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)Last trend: EB47.0 Q.3 1. Often
2. From time to time
3. Rarely
4. Never
5. DK
0. NA
.
.
Q4A VALUE ORIENTATION - POL GOALS 1STThere is a lot of talk these days about what (OUR COUNTRY)'s goals should be for the next ten or fifteen years. On this card are listed some of the goals that different people say should be given top priority. Would you please say which one of them you, yourself, consider to be most important in the long run? (SHOW CARD - ONE ANSWER ONLY)Last trend: EB42.0 Q.3 1. Maintaining order in the country
2. Giving the people more say in important government decisions
3. Fighting rising prices
4. Protecting freedom of speech
5. DK
0. NA
.
.
Q4B VALUE ORIENTATION - POL GOALS 2ND[The country's most important goals]And what would be your second choice?See Q.4a for complete question text 1. Maintaining order in the country
2. Giving the people more say in important government decisions
3. Fighting rising prices
4. Protecting freedom of speech
5. DK
0. NA
.
.
Q5A TELEVISION USE - NEWSAbout how often do you ... (SHOW CARD)Last trend: EB46.0 Q.5 1. Everyday
2. Several times a week
3. Once or twice a week
4. Less often
5. Never
6. DK
0. NA
.
.
Q5B DAILY NEWSPAPERS USE - NEWSAbout how often do you read the news in daily papers?See Q.5 for complete question text 1. Everyday
2. Several times a week
3. Once or twice a week
4. Less often
5. Never
6. DK
0. NA
.
...
Birgit

HI.
Jetzt häng mir einfach ein Stück vom falschen Ergebnis mit dran!

bydey

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">

<xsl:template match="dataDscr">
   <html>
      <body>
         <h1>Tabelle Variable 38</h1>
         <table border="1">
            <tr>
               <td>(Wert)</td><td>(Antwort)</td>
            </tr>
            <xsl:apply-templates select="var" />
         </table>
      </body>
   </html>
</xsl:template>

<xsl:template match="catgry">
   <tr>
      <td><xsl:apply-templates select="catValu" />xsl:text.</xsl:text></td>

<td><xsl:apply-templates select="txt" /></td>
   </tr>
</xsl:template>
</xsl:stylesheet>

Hilft Dir das weiter ohne komplette XML-Datei?

Birgit

Ok.

  1. Often
  2. Form time to time
    etc. )s.o.

Wie sehen Deine falschen Antworten aus?

bydey