[ https://issues.apache.org/jira/browse/XALANC-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140940#comment-13140940 ]
Steven J. Hathaway commented on XALANC-451: ------------------------------------------- Patches are committed to the SVN repository for XalanTransformer.cpp and XalanTransformer.hpp. This patch implements top-level parameters for strings, numbers, nodesets, and XObjects. The XalanTransformer now contains its own instance of the XObjectFactory to manage top-level parameters. I am still preparing a new sample program with documentation. I will also provide the enhanced top-level parameter features to XalanCAPI and the Xalan command line executable. These will be presented as a new JIRA issue. > XalanTransformer setStylesheetParam(key, xobject) > ------------------------------------------------- > > Key: XALANC-451 > URL: https://issues.apache.org/jira/browse/XALANC-451 > Project: XalanC > Issue Type: Improvement > Components: XalanC > Affects Versions: CurrentCVS > Reporter: Tobias Schuette > Assignee: Steven J. Hathaway > Attachments: SampleTests.txt-rev3, UseStylesheetParam.cpp, > UseStylesheetParam.cpp.diff, XalanParamsSample.cpp-rev3, > XalanTransformer.cpp, XalanTransformer.cpp-rev3, XalanTransformer.cpp.diff, > XalanTransformer.cpp.diff-rev1, XalanTransformer.cpp.diff-rev2, > XalanTransformer.hpp, XalanTransformer.hpp-rev3, XalanTransformer.hpp.diff, > XalanTransformer.hpp.diff-rev1, XalanTransformer.hpp.diff-rev2, bar.xml-rev3, > foo.xml-rev3, foo.xsl, foo.xsl-rev3, foo.xsl.diff, useXalanParams.zip-rev4 > > > it is not supported to pass xobject's as top level args to stylesheets > through the XalanTransformer > this could be easily evaluated because the underlying XSLTEngingeImpl > supports passing in top level args as key/xobject pairs. > attached some patches to store key/xobject pairs in XalanTransformer and a > modified version of the UseStylesheetParam sample. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org For additional commands, e-mail: xalan-dev-h...@xml.apache.org