xsl-list
[Top] [All Lists]

How to pass a node set or RTF to top-level param using Xalan-C++?

2006-02-14 14:08:41
I believe this is possible using Xalan-J, but the Xalan-C++ API only
allows string expressions for XalanTransformer::setStylesheetParam()
(http://xml.apache.org/xalan-c/apiDocs/classXalanTransformer.html#a22).
Is there a way to get an RTF or node set from an expression?  I want to
be able to pass something like:

<a>
  <b>foo</b>
  <c>bar</c>
</a>

to my stylesheet.  If this isn't possible, is there a way to convert a
string to a nodeset within xslt?  And if not, what's the recommended way
of passing complex objects to a stylesheet?

I'm using Xalan 1.8.0, though an upgrade can be done if needed.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>