Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 XML and SQL
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AskSQLTeam
Ask SQLTeam Question

USA
0 Posts

Posted - 06/05/2002 :  09:35:59  Show Profile  Visit AskSQLTeam's Homepage  Reply with Quote
Nuno writes "im instantiating and xml and an xsl style sheet in order to generate and html form with asp. its the only way that i can pass parameters to the xsl stylesheet. the data in my xml file executes sql at certain point but the stylesheet does not pick up the results because the xml object instantiates the xml with sql statement instead of executing the sql. im using sql server 2000 through a virtual directory in IIS. what can i do to make the sql to execute then apply the xsl style sheet to generate the result in html while still passingt parameters to the style sheet."

robvolk
Most Valuable Yak

USA
15732 Posts

Posted - 06/05/2002 :  09:37:20  Show Profile  Visit robvolk's Homepage  Reply with Quote
How about using the original XML file to execute the SQL and generate a second XML file containing the SQL data, then apply the XSL sheet to the second XML file? That's probably the best and easiest way to do it.

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000