W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2001

Re: Newbie needs a hint

From: Enrico Horn <horn@inverso.de>
Date: Mon, 19 Mar 2001 15:52:00 +0100
Message-Id: <5.0.2.1.0.20010319154320.00a63ec0@liam.inverso.de>
To: www-xsl-fo@w3.org
Hi Cristoph,
Please reply to the list next time so that everybody
can read and contribute.

At 13:50 19.03.01, you wrote:
[..snipp..]

>             <xsl:for-each select="ORDERS02/IDOC/E1EDKA1">
>
>                <tr>
>
>                  <th>LIFNR</th>
>                  <th bgcolor="yellow">Lieferanten-Nr..</th>
>                  <td>
>                    <xsl:value-of select="LIFNR"/>
>                  </td>
>                </tr>

There is the mistake. You select each ORDERS02/IDOC/E1EDKA1
and put the data in the table.
What you dont do is check if the value is really in the document.
like this:

<xsl:if test="LIFNR">
>                <tr>
>
>                  <th>LIFNR</th>
>                  <th bgcolor="yellow">Lieferanten-Nr..</th>
>                  <td>
>                    <xsl:value-of select="LIFNR"/>
>                  </td>
>                </tr>
</xsl:if>

Ciao

Enrico Horn
horn@inverso.de
Received on Monday, 19 March 2001 09:45:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT