sorry I tried this as well however again getting the same error...element type root is not declared.
you can also check the same in following tool for xml validation
more over I tried the same with xinclude as well
<xi:include href="foo.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
but this is not including the foo.xml during parsing. All the following attributes are already set. How the same can be done with xinclude?