| 
 
Subject: Re: how to refer to xml elements when using the document() function From: Michael Hoffmann <m-hoffmann@xxxxxx> Date: Tue, 28 Nov 2000 08:06:07 +0100  | 
teresa...
	
>  <xsl:variable name="cmissions"><xsl:value-of select="document
> ('../missions/missions.xml',  /)"/></xsl:variable>
try <xsl:variable name="cmissions"
select="document('../missions/missions.xml')/missionspage" />
and then refer to the elements like
<xsl:value-of select="$cmissions//mission/country_code" />
this worked for me (cocoon) hope it helps...
michael
p.s. more about document function see...
http://www.dpawson.co.uk/xsl/N2602.html
(and for sure the W3C Sites...)
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| how to refer to xml elements when u, Teresa . Mairal-Barr | Thread | Re: how to refer to xml elements wh, Jiri Jirat | 
| how to refer to xml elements when u, Teresa . Mairal-Barr | Date | Re: how to refer to xml elements wh, Jiri Jirat | 
| Month |