[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How to pass a node set or RTF to top-level param

Subject: RE: 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
c setstylesheetparam
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: 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.