|
Subject: RE: [xsl] Matching values in the XML before output! From: "Simpson, George" <GeorgeS@xxxxxxxxxxxxxxxxx> Date: Thu, 18 Apr 2002 14:29:48 +0100 |
Hi again,
On 18 April 2002 Heppa wrote :-
> 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
Firstly I am sorry for having to repeat this question :-( I made an error in my last query!
My required output should have read :-
POINT NUMBER = 1 SHORT FORM ID = M/O
POINT NUMBER = 2 SHORT FORM ID = L/O
Point number 1 should be able to find the <short-form-id> associated with it, even though the XML doe's not have a <icc-point-oid> associated
with it!
Once more many thanks Santtu and everyone else!
Regards,
George :-(
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Matching values in the XM, Jarno . Elovirta | Thread | RE: [xsl] check if content value be, Jarno . Elovirta |
| RE: [xsl] XSL manipulating two XMLs, Najmi, Jamal | Date | RE: [xsl] XSL manipulating two XMLs, Vasu Chakkera |
| Month |