Re: [xsl] Connecting to Data Base using XSL

Subject: Re: [xsl] Connecting to Data Base using XSL
From: "bryan rasmussen" <rasmussen.bryan@xxxxxxxxx>
Date: Wed, 12 Sep 2007 09:09:48 +0200
Hi Karanam,

if the webservice is a REST-based webservice, meaning that it returns
the XML via a http GET then yes, using
document("http:// location of webservice to do query")
If not then you are again stuck requiring an extension function.

The first two responses I get to this search
http://www.google.com/search?source=ig&hl=en&q=soap+xsl show extension
functions for different processors for doing SOAP. I suppose whatever
processor you are using you can find an extension function for working
with SOAP for it.

There also used to be the following, for MSXML I believe,
http://www.topxml.com/soapworkshop/utilities/kafka/default.asp but not
sure how maintained it still is.

Best regards,
Bryan Rasmussen

On 9/12/07, Karanam.Chowdary@xxxxxxxxxxxxxxxxxx
<Karanam.Chowdary@xxxxxxxxxxxxxxxxxx> wrote:
> Extension function???? I have a webservice which queries from database
> and returns the desired results. Can that webservice be included in my
> XSL?
>
> -----Original Message-----
> From: bryan rasmussen [mailto:rasmussen.bryan@xxxxxxxxx]
> Sent: Wednesday, September 12, 2007 10:47 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Connecting to Data Base using XSL
>
> either you will need to use an extension function appropriate to your
> processor or the database would have to be exposed via some protocol
> accessible via the document() function - the second seems unlikely.
>
> Best regards,
> Bryan Rasmussen
>
> On 9/12/07, Karanam.Chowdary@xxxxxxxxxxxxxxxxxx
> <Karanam.Chowdary@xxxxxxxxxxxxxxxxxx> wrote:
> >
> >
> > Hello,
> > Can someone help me out in connecting to database using xsl?
> > I have to connect to oracle 10g database and retrieve data and display
> > it in browser. Say, I have control id in my xml, based on this control
> > id I have to get the control name which is in the database. I tried
> > using saxon, but I want the results to be displayed in browser not in
> > cmd prompt.
> >
> > This is my XML:
> > <CONTAINER ID="1" TYPE="1" CREATEDIV="Y">
> >                 <CONTROL_ID>2</CONTROL_ID>
> >                 <CONTROL_ID>3</CONTROL_ID>
> >                 <CONTROL_ID>7</CONTROL_ID>
> > </CONTAINER>
> > I shud get the control name from database using the <CONTROL_ID> tag
> in
> > XML.
> >
> > Note: I m not using any XSLT processor... just editing XSL with Visual
> > Studio 2005.
> >
> >
> > DISCLAIMER:
> > This message contains privileged and confidential information and is
> intended only for an individual named. If you are not the intended
> recipient, you should not disseminate, distribute, store, print, copy or
> deliver this message. Please notify the sender immediately by e-mail if
> you have received this e-mail by mistake and delete this e-mail from
> your system. E-mail transmission cannot be guaranteed to be secure or
> error-free as information could be intercepted, corrupted, lost,
> destroyed, arrive late or incomplete or contain viruses. The sender,
> therefore,  does not accept liability for any errors or omissions in the
> contents of this message which arise as a result of e-mail transmission.
> If verification is required, please request a hard-copy version.
>
>
>
> DISCLAIMER:
> This message contains privileged and confidential information and is intended only for an individual named. If you are not the intended recipient, you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The sender, therefore,  does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version.

Current Thread