I'm processing remote XML (by just providing URL to XSLT processor) and I can't make it "fetch" additional XML resources. I read similar questions here, but none of them seem like applicable here.
Here is excerpt of remote XML that is being processed:
...
<item>
<position>1</position>
<rec id="05a59ca2"/>
</item>
<item>
<position>2</position>
<rec id="48e7c3f1"/>
</item>
...
Now these id
attributes can be used to refer remote XML source (http://some-server/id) where additional details about each record is stored, and I would like to be able to process them with same XSLT without using other tools, for convenience and simplicity.
So, can I process remote XML files with XSLT?
You can most certainly do this using the document function
example:
to test you can do
to see what the format is
reference
http://www.w3schools.com/xsl/func_document.asp