[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: how to refer to xml elements when using the document() f
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|