2 xml used from the same hmtl page
XML / XSL
1
Posts
1
Posters
0
Views
1
Watching
-
I'm not so expert on xml... I have 2 xml in 2 different files. (They needs to remain on separate files). Is there a way to prepare a web page that uses the info from both files? I found the solution to apply a stylesheet to the first xml to manage the visulization, and I add a code similar to this into the xml to import there also the data from the other file.
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="MyStylesheet.xsl"?>
<!DOCTYPE Document [
<!ENTITY TheOtherXML SYSTEM "File2.xml">
]>
<MyXML>
<then later I included the other file with a command like:
&TheOtherXML;
...but this way has the problem that works only with IE (not firefox). Any other way to obtain a similar result?
Russell