.NET XML KB Articles
HOWTO
Persist an ADO.NET DataSet as XML by Using Visual C# .NET KB: 309183 |
This article demonstrates how to persist an ADO.NET DataSet object to Extensible Markup Language (XML).
|
Create and Test an XML Web Service in Visual Basic .NET KB: 309013 |
This step-by-step article describes how to create and test an XML Web service created using ASP.NET by using Visual Studio .NET, and how to test the XML Web service with a simple Microsoft Visual Basic .NET console client.
XML Web services are quickly becoming the preferred way to communicate with applications outside of the domain of the application. XML Web services enable clients to access component functionality across the Internet without configuring firewalls to allow access to internal components.
|
Use a Web Service as a Data Source for a Client Application in JScript .Net KB: 308497 |
This step-by-step article demonstrates how to create and test a Web service that returns a DataSet object to a client. This article also demonstrates how to reference the Web service in a client application and display the returned DataSet in a DataGrid control.
|
Use a Web Service as a Data Source for a Client Application in Visual C# .NET KB: 308495 |
This step-by-step article demonstrates how to create and test a Web service that returns a DataSet object to a client. This article also demonstrates how to reference the Web service in a client application and display the returned DataSet in a DataGrid control.
|
Integrate an Apache SOAP 2.2 Client with a .NET XML Web Service KB: 308466 |
This step-by-step article describes how to integrate an Apache SOAP 2.2 client with an XML Web Service that is based on Active Server Pages (ASP) .NET. This article assumes that the ASP .NET server-side component exposes the Web method with the WebMethod attribute and does nothing more than provide a namespace for the Web Service itself.
|
Integrate a PERL/SOAP Lite Client by Using a SOAP Toolkit or .NET XML Web Service KB: 308438 |
This step-by-step article describes how to write a Perl SOAP::Lite client for a Web Service that is based on the Microsoft SOAP Toolkit or .NET.
|
Write a Simple Web Service by Using Visual C# .NET KB: 308359 |
This step-by-step article shows you how to write a simple Web service, called MathService, that exposes methods for adding, subtracting, dividing, and multiplying two numbers.
|
Navigate XML with the XPathNavigator Class by Using Visual C# .NET KB: 308343 |
This step-by-step article describes how to navigate Extensible Markup Language (XML) documents with an XPathNavigator object that is created from an XPathDocument object. This sample loads an XPathDocument object with XML data, creates an XPathNavigator object as a view onto the data, and displays the XML by walking through the document.
|
Query XML with an XPath Expression by Using Visual C# .NET KB: 308333 |
This article demonstrates how to query an XPathDocument object with an XML Path Language (XPath) expression using the XPathNavigator class. XPath is used programmatically to evaluate expressions and select specific nodes in a document.
|
Merge Data from Two XML Documents by Using System.Xml with Visual Basic .NET KB: 308066 |
This article demonstrates how to use a DataSet object to merge two XML documents. The DataSet object is central to supporting disconnected, distributed data scenarios with ADO.NET. The DataSet is a memory-resident representation of data that provides a consistent, relational programming model regardless of the data source. The DataSet represents a complete set of data, including related tables, constraints, and relationships among the tables.
|
Persist an ADO.NET DataSet as XML by Using Visual Basic .NET KB: 308064 |
This article demonstrates how to persist an ADO.NET DataSet object to XML.
|
Populate a TreeView Control with XML Data in Visual Basic .NET KB: 308063 |
This step-by step article describes how to populate a TreeView control by using Extensible Markup Language (XML) data in Visual Basic .NET. Because both XML and the TreeView control represent the data in a hierarchical format, the TreeView control is a natural choice to display XML data. The TreeView control has a Nodes collection with root TreeNode objects. Each TreeNode in turn has its own Nodes collection that holds more than one child TreeNode. NOTE: This sample uses the Document Object Model (DOM) parsing classes of .NET to process XML.
|
Specify Fully Qualified Element Names in XPath Queries by Using Visual Basic .NET KB: 308062 |
When you use the XmlDocument object to load and parse an Extensible Markup Language (XML) document, it is common programming practice to identify elements with a specific element name. This article demonstrates how to specify fully qualified element names in the NamespacePrefix:ElementName format to select nodes in an XmlDocument.
|
Use the Encoding Property with System.Xml Classes in Visual C# .NET KB: 308061 |
This step-by-step article explains how to use the Encoding property with XML in .NET Framework. The encoding declaration in the XML declaration identifies the encoding format of the XML data. In the System.Xml namespace, the Encoding property of the classes identifies the encoding format.
The System.Xml namespace in .NET Framework includes the following classes that have the Encoding property:
- XmlDeclaration: represents XML declaration node
- XmlParserContext: provides the context information required by the XML reader classes to parse an XML fragment
- XmlTextReader: pull model parser; provides forward-only, fast, non-cached access to XML data
- XmlValidatingReader: validates XML documents against XSD, XDR, or DTD
The Encoding property is a case insensitive string such as "UTF-8" or "ISO-8859-1" with the XmlDeclaration class. With the other classes, the Encoding property is of the type System.Text.Encoding class.
|
Locate and Replace Special Characters in an XML File with Visual Basic .NET KB: 308060 |
This article describes how to replace special characters in an Extensible Markup Language (XML) file by using Visual Basic .NET.
|
|
|