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

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 XML and SQL

Author  Topic 

Ask SQLTeam Question

0 Posts

Posted - 2002-06-05 : 09:35:59
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."

Most Valuable Yak

15732 Posts

Posted - 2002-06-05 : 09:37:20
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

- Advertisement -