RE: Accessing 2 xml files in xsl
This is what I have.But how can it access from 2 different xml files?.Should I have to define all the different template matches then?.Is there a way I can just define one template like "/" and get all those values from both xml files? Francis > > here was the example David gave. > ============================================ > xsl:import is for importing stylesheets, ie for structuring your > stylesheet out of smaller modules. So is no use at all for > what you want > to do. > > if your countries are in countries.xml then just go > > <xsl:apply-templates select="document('countries.xml')"/> > > and write some templates to transform your file > into the list on your html. > > David > ============================================ > > I hope this will partially redeem me :) > also the "Index by Date" link on the xsl-list site is bad > http://www.mulberrytech.com/xsl/xsl-list/archive/maillist.html > "Index by Thread" works though. > > Noah > 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