Please start any new threads on our new site at https://forums.sqlteam.com. 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)
 Querying and Displaying XML

Author  Topic 

BaggaDonuts
Yak Posting Veteran

52 Posts

Posted - 2005-04-12 : 13:55:48
Is there a way to display XML from a SQL query? I have to query one field of type NText called AssemblyXML that consists of an XML file. I want to display the results of that query (the returned XML) in the web browser. Is there an easy way to do this?

Here's my simple query: Select AssemblyXML from t_Dp where CodeName = 'hp'

I can assign the results to a string and display the string in the window, BUT, the XML tags aren't displayed (because it's an aspx file). is there a way i can wrap this string and display its contents properly?

BaggaDonuts
Yak Posting Veteran

52 Posts

Posted - 2005-04-12 : 14:14:44
nevermind :) i'll just put it in a text box
Go to Top of Page
   

- Advertisement -