For a Microsoft Visual Basic .NET version of this
article, see
.
This article demonstrates how to programmatically retrieve
an XML data stream from a SQL Server 2000 mapping schema by using an XPath
query. The scope operates in a client/server (2-tier) model.
This
sample also allows you to test XPath queries against the mapping schema. For
each query, the text box of the form displays the XML; the elements of the XML
data stream are broken onto separate lines for viewing purposes.
For SQL Server 2000, please see SQL Server Books
Online.
For XML, see the MSDN page on the following Microsoft Web
site: