Hallo,
ich habe ein XML in die eine weitere XML Quelle mit XInclude eingeordnet werden soll
Es wird jedoch scheinbar "nur" so ohne Namensraum eingebracht:
http://www.w3.org/TR/2004/REC-xinclude-20041220/#creating-result
"Some processors may not be able to represent an element's in-scope namespaces property if it does not include bindings for all the prefixes bound in its parent's in-scope namespaces. Such processors may therefore include additional namespace bindings inherited from the include parent in the in-scope namespaces of the included items."
und: http://www.w3.org/TR/2004/REC-xinclude-20041220/#namespaces
Hat jemand eine Idee, wie man den Namespace mit übernehmen?
Nicht wirklich, aber vielleicht hilf ein:
<test xmlns="http://www.hh.com">
<xi:include href="file2.xml" parse="xml" encoding="UTF-8"/>
Grüße
Thomas