RE: [xsl] How to pass a node set or RTF to top-level param using Xalan-C++?

Subject: RE: [xsl] How to pass a node set or RTF to top-level param using Xalan-C++?
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Tue, 14 Feb 2006 23:19:09 +0000
check up documentation of node-set() function in your transformer API.
see if it helps.

hope it does.
vasu


From: "Quincy Lu (u)" <qlu@xxxxxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
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.


_________________________________________________________________
Are you using the latest version of MSN Messenger? Download MSN Messenger 7.5 today! http://messenger.msn.co.uk


Current Thread