Visual C++ .NET is smiling to you, please return her smile

 

Visual C++ .Net Programming Tutorials: Visual C++ .NET - Creating, Reading, Parsing, Validating and Writing XML

 

Home

 

 

 

 

 

The .NET Framework provides full support for just about everything you’ll need to do with XML. One of the major features of the .NET Framework is that it enables you to easily produce distributed applications that are language-independent and that will be platform-independent when .NET is ported to other platforms. XML plays a major part in this plan by acting as a simple, portable glue layer that’s used to pass data around in distributed applications. Microsoft has XML-enabled many parts of the .NET Framework, and a few of the main ones listed below to give you a flavor of where and how they are used:

  1. The results of database queries to be returned as XML so that they are far more portable than ActiveX data object (ADO) recordset objects. It’s also possible to interact with databases more fully using XML.

  2. Calls can be made to Web services using SOAP, an XML-based protocol for making remote procedure calls (instead of using security vulnerable RPC).

  3. Finding out what a Web service provider can do for you involves using UDDI, the Universal Description, Discovery, and Integration service. When you query a UDDI service, you post a query in XML and a description of what is available comes back as more XML.

Microsoft contributes to the efforts of the W3C working groups who define and set standards for XML and other Web protocols. Among the XML standards Microsoft currently provides developer support for are the following:

  1. The XML Schema definition language (XSD), a current W3C standard for using XML to create XML Schemas. XML Schemas can be used to validate other XML documents.

  2. Extensible Stylesheet Language Transformations (XSLT) 1.0, a current W3C XML style sheet language standard. XSLT is recommended for transforming XML documents.

  3. The XML Path Language (XPath) 1.0, a current W3C XML standard used by XSLT and other XML programming vocabularies to query and filter data stored in XML documents.

The following are the topics in this Chapter. These topics can also applied to Windows network (socket) programming in .NET which is called managed I/O.

  1. C++ .NET - XML Reading & Writing 1: Overview, XML & .NET, The .NET XML Namespaces, The XML Processing Classes and Parsing XML with XmlTextReader

  2. C++ .NET - XML Reading & Writing 2: Parsing XML with XmlTextReader (continue)

  3. C++ .NET - XML Reading & Writing 3: Verifying Well-Formed XML, Handling Attributes and Parsing XML with Validation

  4. C++ .NET - XML Reading & Writing 4: Writing XML Using XmlTextWriter

  5. C++ .NET - XML Reading & Writing 5: Writing XML Using XmlTextWriter (continue)

  6. C++ .NET - XML Reading & Writing 6: Using XmlDocument, What Is the W3C DOM? and The XmlNode Class

  7. C++ .NET - XML Reading & Writing 7: The XmlNode Class (continue) and A Very Quick Reference

 

 

 

 

Best viewed using FireFox 1.5.0 and above. Worst viewed using IE of any version

 

Webmaster contact: [contact[@]visualcplusdotnet.com]

Copyright 2009 © Visualcplusdotnet. All rights reserved.

Excellent hosting services provided by MochaHost - The Online Central

 

 

 

| About | Disclaimer | Privacy | Site Index & Project Download | Native C | Contact |

 
 

 

Custom Search