Hi Tore,
I would have two apply-templates.
The match for person just give out name and city if available.
<xsl:template match = "/">
Connected to city
<xsl:apply-templates select="result/person[city]"/>
People not connected to city
<xsl:apply-templates select="result/person[not city]"/>
...
Cheers,
Juergen
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--