Subject: AW: XML Reorganisation
From: "Fries, Markus, fiscus GmbH, Bonn" <M.Fries@xxxxxxxxxxx>
Date: Wed, 22 May 2002 15:32:49 +0200
|
Hi!
Either you store what you need from area in a local variable before looping
, or you can use ../../../area[some predicate] or simply ../..
Hope this helps.
Markus Fries
---------------
One thing I am not sure of is how to reference the node matched by the
template while inside a for-each element.
<xsl:template match="province">
<xsl:for-each select="department">
...if I want to reference an area as a child of the matched
province
from here, what do I do?...
</xsl:for-each>
</xsl:template>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|