Alan Bull (Local Origins) wrote:
<xsl:variable name="ThisHotelID"><xsl:value-of
select="document(file/@href)/Hotel/HotelID" /></xsl:variable>
<xsl:variable name="HotelURL"><xsl:value-of
select="document(file/@href)/hotels/hotel[(_at_)id='{$ThisHotelID}']/hotelurl" /></xsl:variable>
Consider to use
<xsl:variable name="ThisHotelID"
select="document(file[1]/@href)/Hotel/HotelID"/>
<xsl:variable name="HotelURL"
select="document(file[2]/@href)/hotels/hotel[(_at_)id =
$ThisHotelID]/hotelurl"/>
--
Martin Honnen
http://JavaScript.FAQTs.com/
--~------------------------------------------------------------------
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>
--~--