There is a bug in my test.xml. Should be:
<?xml version="1.0"?>
<test xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="somedir/sometest.xml"/>
</test>
hello,
In case of relative path XInclude looks for included file inside current working directory. Let's assume the following file structure:
somedir
|_sometest.xml
test.xml
and test.xml file like this:
<?xml version="1.0"?>
<test xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.