check up documentation of node-set() function in your transformer API.
see if it helps.
hope it does.
vasu
From: "Quincy Lu (u)" <qlu(_at_)u(_dot_)washington(_dot_)edu>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: [xsl] How to pass a node set or RTF to top-level param using
Xalan-C++?
Date: Tue, 14 Feb 2006 13:08:41 -0800
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>
--~--
_________________________________________________________________
Are you using the latest version of MSN Messenger? Download MSN Messenger
7.5 today! http://messenger.msn.co.uk
--~------------------------------------------------------------------
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>
--~--