Click here to Skip to main content
15,896,499 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

How can i invoke stored procedure through XML file & then apply xsl on the data which i retrieve from stored procedure.

My Development Environment is :
Visual Studio 2008
Sql Server 2008


Thanks in Advance.
Posted
Comments
Mehdi Gholam 31-Oct-11 3:22am    
XML is a text data storage format it cannot execute code.

1 solution

Hi,

I am assuming you are using your xml file in some or other application like IE.
There should be some sort of process.

If you are using IE as in a web page to start things off, javascript can be added to you originating page to do you stored procedure call
something to do with -> var rs = new ActiveXObject("ADODB.Recordset")

As long as your db can be accessed from the client you should be fine.
Its alot of work in java and on the client side, if thats what you are after then happy coding, but if you can change you paradigm, look into doing all that on the server rather.

Good luck...
 
Share this answer
 
Comments
[no name] 8-Nov-11 5:30am    
hi,

please checkout this link [http://www.aspdotnetstorefront.com/t-sdk.aspx]
& click on xmlpackages tab.

Check out the XmlFile.

They are calling stored procedure from xml file.

If you will get something, please let me know.

Thanks in advance.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900