RE: [xsl] XML String as Parameter..

Subject: RE: [xsl] XML String as Parameter..
From: Ramesh B <ramesh_bhanu@xxxxxxxxx>
Date: Tue, 2 Apr 2002 04:51:44 -0800 (PST)
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: [xsl] 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