[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: Ramesh B <ramesh_bhanu@xxxxxxxxx>
Date: Tue, 2 Apr 2002 04:51:44 -0800 (PST)
xml as a parameter
THANKS A LOT

I am able to do it using the first method you
specified(Passing a document node as parameter)

Thanking you again...
Ramesh

--- Michael Kay <michael.h.kay@xxxxxxxxxxxx> wrote:
> You could parse the XML string to construct a
> Document node, and pass that
> as the parameter; or you could use the document()
> function, after supplying
> a URIResolver that recognizes a URI of the form
> "data:<xml>document
> here</xml>" and returns the data part as a
> StreamSource object.
> 
> Michael Kay
> Software AG
> home: Michael.H.Kay@xxxxxxxxxxxx
> work: Michael.Kay@xxxxxxxxxxxxxx
> 
> > -----Original Message-----
> > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On
> Behalf Of Ramesh B
> > Sent: 02 April 2002 04:41
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject: RE:  XML String as Parameter..
> >
> >
> > Hi,
> >   I want to extract information from the xml
> string
> > passed as parameter using xpath.When i am trying
> to do
> > this i am getting the Error.
> >
> > Or can you specify the possibilities by which
> >
> > I can  process multiple XML Strings in my XSL.I
> cannot
> > use document() function since i don't have my xml
> as a
> > File BUT AS A STRING Coming from DataBase.I am
> using
> > Xalan.
> >
> > Thanks a Lot for your Help,
> > Ramesh
> > --- Michael Kay <michael.h.kay@xxxxxxxxxxxx>
> wrote:
> > > > But Now i Need One more XML String Created
> from
> > > > DataBase to Be Passed on to the XSL.This XML
> Deals
> > > > with display of some Related Information
> > > >
> > > > So i thought i will pass my Second XML as a
> > > Parameter
> > > > to my XSL and Use it.
> > > >
> > > > Now the Problem starts
> > > > The parameter is getting the XML Value Passed
> > > > But when i tried to refer the Parameter in
> XPath
> > > it
> > > > Gives the Error "Cannot convert string to
> NodeSet"
> > >
> > > Why are you trying to convert the string
> parameter
> > > to a node-set?
> > >
> > > Michael Kay
> > > Software AG
> > > home: Michael.H.Kay@xxxxxxxxxxxx
> > > work: Michael.Kay@xxxxxxxxxxxxxx
> > >
> > >
> > >  XSL-List info and archive:
> > > http://www.mulberrytech.com/xsl/xsl-list
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Tax Center - online filing with TurboTax
> > http://http://taxes.yahoo.com/
> >
> >  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> >
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://http://taxes.yahoo.com/

 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-2007 All Rights Reserved.