RE: [xsl] Merging two xml files using XSLT in browser without saxon

Subject: RE: [xsl] Merging two xml files using XSLT in browser without saxon
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 7 Jul 2008 22:04:59 +0100
> What I mean is if I want to load the merged file in the 
> browser how do I do that.
> 
> if its just 1 xml that I am loading the data from, I can load 
> the xml in the browser and reference the xsl stylesheet. But 
> here when I have two xml files and 1 xsl stylesheet how do I do that.
> 
> This might be extremely simple but I have not been able to 
> achieve this.

You call the document() function, just like the code that you cited.

Some browsers (notably Opera) had limited support for the document()
function until recently.

Michael Kay
http://www.saxonica.com/

Current Thread