Subject: RE: Matching values in the XML before output!
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 18 Apr 2002 16:09:15 +0300
|
Heppa,
> Required output
> POINT NUMBER = 1 SHORT FORM ID = NIL
> POINT NUMBER = 2 SHORT FORM ID = L/O
<xsl:for-each select="icc/icc-phases/icc-points">
<fo:table-cell>
<fo:block>
<xsl:value-of select="point-number" />
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>
<xsl:variable name="history" select="../../../iso-point-details/isolation-history[iso-history/icc-point-oid = current()/icc-point-oid]" />
<xsl:choose>
<xsl:when test="$history">
<xsl:value-of select="$history/short-form-id" />
</xsl:when>
<xsl:otherwise>NIL</xsl:otherwise>
</xsl:choose>
</fo:block>
</fo:table-cell>
</xsl:for-each>
> I tried to set up the example below to check the
> <isolation-id> in this case! But get no results back! Could someone
You probably missed the iso-history step from the predicate.
Cheers,
Santtu
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Matching values in the XML before output!
- Simpson, George - Thu, 18 Apr 2002 05:25:45 -0400 (EDT)
- <Possible follow-ups>
- Jarno . Elovirta - Thu, 18 Apr 2002 05:48:45 -0400 (EDT)
- Simpson, George - Thu, 18 Apr 2002 06:35:34 -0400 (EDT)
- Simpson, George - Thu, 18 Apr 2002 06:54:29 -0400 (EDT)
- Jarno . Elovirta - Thu, 18 Apr 2002 09:03:49 -0400 (EDT) <=
- Simpson, George - Thu, 18 Apr 2002 09:25:28 -0400 (EDT)
|
|