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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to read XML embedded in procedures?

Status
Not open for further replies.

JohnDTampaBay

Programmer
Jul 12, 2002
986
US
We are using XML embedded in our stored procedures to document the functionality, etc. of the stored procedure. The XML is in a comment block so as not to interfere with the procedure. Here's a sample:

Code:
/*
<ROOT>
<Author>Me</Author>
<Created>December 2002</Created>
<Revisions>
	<Author Name=&quot;Me&quot; Date=&quot;12-6-2002&quot;>Added CreateDate to log.</Author>
</Revisions>
<Summary>This procedure logs object names and types into the WSRObjects table.
</Summary>
<Remarks></Remarks>
<UsedBy></UsedBy>
<Returns></Returns>
</ROOT>
*/

I have never worked with XML before. Now Bossman wants me to extract the XML data from the stored procedure code and report to him what procedures contain what XML data.

Has anyone tried to do this? Any advise would be greatly appreciated. --Angel [rainbow]
-----------------------------------
Every time I lose my mind, I wonder
if it's really worth finding.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top