I have an xml file that contains two elements:
First one with an ID attribute set to something, e.g. "C0000"
and second element that has an attribute whose value is a link to first
element via IDREF.
When I run this xml file with both elements in 1 file, it works and I see
the link and everything.
Now, I need to put these two elements in two different xml files and make
it still work, e.g. file1.xml and file2.xml
where file1.xml contains 1st element and file2.xml contains 2nd element.
In file2.xml, I tried setting the link for second element
using "file1.xml#C0000" instead of "C0000" which is in the case of 1 flat
xml file, but it keeps complaining about ID "file1.xml#C0000" not defined.
I even included file1.xml inside file2.xml via ENTITY and then
used "C0000", but still complaining.
Any idea what could be wrong here?