[xsl] Applying external XML

Subject: [xsl] Applying external XML
From: Rob Belics <rob_belics@xxxxxxxxxxx>
Date: Tue, 02 Feb 2010 12:29:14 -0600
I'm trying to import xml data from other files on a remote server and
apply templates to that data. Everything in my "restaurant.xsl" works
and I've retrieved "menu.xml" which contains links (item-uri) to other
xml files (item.xml) that contain more info about each item for sale on
the menu (tuna and roast beef). However, I'm having problems trying to
import the item.xml data. 

I tried <xsl:apply-templates select="document()" /> in between the
'for-each' with various combinations of xpath for the document() but
that hasn't gotten results I need. 

<xsl:template match="menu">
		<xsl:for-each select="item-uri">
<!-- What goes here? Should I be using 'for-each'? -->



Current Thread