Hi,

Is there any way of identifying Xincluded nodes from a macro? The reason I
need this is that I have a macro that uses copyDocument, transform and read
to transform document contents. If the document contains Xincludes, however,
the macro also effectively copies the xincluded nodes into the document,
since the includes are resolved in the xml output by copyDocument.  I would
like to be able to replace the xincluded nodes with comments or processing
instructions (that contain the necessary urls etc.) before calling
copyDocument. The XSL transformation run by transform would then be able to
convert these comments back to proper Xinclude elements, and I wouldn't lose
my includes.

Or maybe there is another solution to this problem?

Regards,

Kevin Flynn
Birdstep Technology ASA
Oslo, Norway



Reply via email to