C # Discovery Tour first lecture c#-xml development

Source: Internet
Author: User
Tags xpath xslt web database

To get a deeper understanding and use of C #, we will begin this series of technical lectures on the "C # Discovery Tour". Given that most of you are in the Web database development, and the so-called discovery is found that we are unfamiliar with the field, so this series of lectures will be C # in the Web database development outside the application. The main content of the current planning is graphic development and XML development, and plans to organize a number of courses. In the next C # Discovery Tour, we follow the step-by-step steps to explore and discover the other unknown areas of C #, a deeper understanding and mastery of the use of C # for software development, broaden our horizons, enhance our comprehensive software development capabilities.

This series of courses supporting the demo code: supporting Source

Course description

This course introduces the use of C # for XML development. Emphasis is on using the System.Xml namespace to read, save, and process XML documents.

XML Introduction XML Basics Specification

XML full name is an Extensible Markup language, a text-based data storage format as defined by the International Standards Organization of the consortium, derived from IBM's SGML technology and HTML derived from SGML. SGML content is very complex, and XML uses SGML's 20% syntax to achieve 80% of SGML's functionality.

From the perspective of software developers, XML syntax is mainly

XML is an international standard, and most software vendors, development tools, and programming languages support the same basic XML specification. XML documents can be used on any development platform, which is the greatest advantage of XML technology. In contrast, Java, a non-international standard technology, is not easy to cross platforms.

XML is based on plain text and cannot contain binary data in an XML document. And when storing files, it involves the problem of the text encoding format.

An XML file has a hierarchy that uses a pair of angle brackets to define an XML element, an XML element can contain several attributes, and an XML element can contain several child XML nodes below.

An XML document can and must define a root element that cannot be defined or defined.

XML elements cannot be messed up incorrectly, such as "<a><b></a></b>" is an incorrect XML document.

XML format is designed for each system to exchange data, its design process considers the convenient data temporary storage and exchange, but does not consider the data long-term storage, so the XML document is redundant, the file volume is big, therefore is not suitable for storing the large data quantity, the network transmission efficiency is low. This issue needs to be noted in software development.

Xpath

XPath is the standard for fast retrieving and locating XML nodes in an XML document presented by the International Standards Organization of the Global Consortium. About it will be covered in detail in the next session.

Xslt

XSLT is also a standard of XML document conversion based on the standard of XML, which is a very important XML application, and it is cross-platform and supported by many software vendors. XSLT is described in detail in the next section of the course.

W3c

There are many references to international standards Organization, so what is the international Standards organization?

The consortium is an international organization in which most software companies unite to develop standards for certain important software industries. Its members include Microsoft, Ibm,sun and other software giants. It has developed and maintained important standards in the software industry such as html,xhtml, Http,xml,vml,xpath,xform, and the vast majority of software vendors support the standards set by the consortium, which set standards that are truly cross-platform and globally common. So it has a huge impact on the global software industry, especially the Web software industry. Its web site is http://www.w3c.org/, and the hundreds of standards it makes can be seen on its website. If you want to develop a Web application system with international standards, you should learn some of the standards of the global network.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.