1<?xml version='1.0'?> 2<root> 3 You should see a p element: 4 <xi:include href="docwithid.xml" xpointer="element(/1/12/3)" xmlns:xi="http://www.w3.org/2001/XInclude"> 5 <xi:fallback><p id="p1" xml:base="docwithid.xml">Test worked</p></xi:fallback> 6 </xi:include> 7</root> 8