Ajay,

Here is a work-around for in-memory XML content if you are having problems creating useful entity resolvers.

A new capability in Xalan-C in the repository allows parsed XML sources to be imported into stylesheets using top-level parameters. Before your transformation, you can create parsed documents from a variety of sources. You can then pass the parsed documents as XObject parameters to your stylesheets.

Inside your stylesheet, you can treat the XObject parameters anywhare a nodeset is allowed.

The <xsl:copy-of> and <xsl:for-each> can work with your documents without parsing them again in the stylesheet context.

Refer to JIRA XALANC-451 for an implementer's discussion.

  ref:  https://issues.apache.org/jira/browse/XALANC-451

This capability has been committed as part of the Xalan-C project.

Sincerely,
Steven J. Hathaway
<shatha...@apache.org>

Reply via email to