On 10/14/2011 6:36 AM, ajay bhadauria wrote:
Steve,
Thanks a lot for time to explain. This helps a lot !
Regards
Ajay
Note that the parser will not call the EntityResolver for the primary
document -- it will only call it for external parsed entities within the
primary document. This means you will not get a chance to resolve the
document specified in the document() function call.
The way to make this work if for Xalan-C to implement something like
Xalan-J's URIResolver. If you'd like this feature, please create a Jira
issue.
The general workaround for this is to write a small document to the file
system which uses an external entity with the actual document content.
Dave