Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Templates (.xml) for URL querying

Status
Not open for further replies.

vanAtteveldt

Programmer
Jun 21, 2001
1
NL
According to the documentation, instead of stating


it should be possible to use a template such as:

<root><sql:query xmlns:sql=&quot;urn:schemas-microsoft-com: xml-sql&quot;>SELECT * FROM Table1 FOR XML AUTO</sql:query></root>

Storing this as template.xml and then running the template using causes my browser (IE5) to output the xml rather than pass the query to SQL server.

Any help greatly appreciated,

Wouter van Atteveldt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top