Benoit Maisonny wrote:
> 
> I'm wanted to use serialise() to copy an element from another document. 
> Works fine, except that it resolves XIncludes...
> 
> What I'm doing is:
> <cfg:set expression="serialize(document('%p/%_')/x:div/*[1])"
>                 variable="clipboard"/>
> 
> The clipboard then contains my element but all the XIncludes which were 
> in the external document are replaced by their value.
> 
> Any way to keep the XIncludes unresolved?
> 

Not in XXE v3. This problem should be solved by XXE v4. XXE v4 is 
expected to be released this summer.

Reply via email to