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

Re: XML String as Parameter..

Subject: Re: XML String as Parameter..
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Fri, 29 Mar 2002 06:28:16 -0800
pass xml as a parameter
Hi,

A different approach: could you use the String as the source for the transform and then call in the static(?) document (the XML you are currently using as the source) with xsl document()? This way you do not need to use extensions. From what I can understand you cannot create a node-set in java and send that as a parameter to the transformation

best,
-Rob


Ramesh B wrote:


Hi, I am able to pass the Parameter Now.
But the Problem is that i cannot Load it into a
variable using the document() function. It is Giving
Error 'Cannot convert String in to Node List'.


Any Solution for This

Thanks,
Ramesh

--- Joerg Heinicke <joerg.heinicke@xxxxxx> wrote:

Of course, it is possible. But I know only the ways
using Xalan with Cocoon
2, with Ant or from command line. But I think

http://xml.apache.org/xalan-j/usagepatterns.html#params

will help you.

Regards,

Joerg


Hi,
  Can i Pass a XML string as a Parameter to XSL.
  I am Using Xalan as the Processor, and i am

calling

the Processor from Java.
  I am passing an XML and an XSL file to

Processor.

  In addition to this i want to pass another XML
String as Parameter

Regards,
Ramesh






XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


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.