[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: probs with document()
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 18 Oct 2002 12:12:58 +0100
<xsl:variable name="details" select="document('details.xml')" />

that makes $details be a node set of one node, the root node (/) of the
document.

$details/firstimage

selects the child node with name firstimage but there is none, you want

$details/XDoc/firstimage

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member