[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XML String as Parameter..


Subject: Re: [xsl] XML String as Parameter..
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Fri, 29 Mar 2002 06:28:16 -0800

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
Keywords