> XInclude support in Xerces is only available as a parsing feature. > If there is some processing you need to do prior to XInclude you > need to serialize the document (after you've done your > preprocessing) and then feed it back to the parser.
Alternatively, do the processing and then implement your own include logic -- either manually, or as an XSLT stylesheet executed with Xalan.