[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Accessing 2 xml files in xsl

Subject: Accessing 2 xml files in xsl
From: "Selva, Francis" <Francis.Selva@xxxxxxxxxxxxxxx>
Date: Tue, 18 Apr 2000 16:12:28 -0700
xsl and 2 xml files
I have 2 xml files out of which one is linked to a xsl file.The xsl file
produces html output but it has to access both the xml files.Can anyone tell
me how I can do that?.I remember David saying about xsl:apply-templates
match=document("test.xml") sometime back but can someone give me an example
pl?.

 This is just a rough sketch

xml1

<?xml-stylesheet type="text/xsl" href="layout.xsl"?>
<bwlabels>
	<header>... </header>
	 <address1>... </address1>
	 <address2>... </address2>
	 <address3>... </address3>
</bwlabels>


xml2

<layout>
	<alertmsg>You must enter three or more characters to perform a
search.</alertmsg>
	<pr>Projects</pr>
	 
	<productdetails>
		<type>Product Search</type>
		<pcontent1>Item Number</pcontent1>
		<pcontent2>Name</pcontent2>
		<pcontent3>Quick Guides</pcontent3>
		<pcontent4>Password</pcontent4>
		<pcontent5>New Items</pcontent5>
		<pcontent6>Work Area</pcontent6>
		<pcontent7>Reports</pcontent7>
		<pcontent8>Logoff</pcontent8>
	</productdetails>
</layout>


I need to use both these xml files in my layout.xsl.

Francis


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.