Visual studio 2010 part 40

Extensible Markup Language (XML) là một chuẩn mở đa nền tảng cách xác định tài liệu. Ở nguồn gốc của nó, XML được sử dụng để đại diện cho dữ liệu, nhưng nó đã phát triển được sử dụng để bao gồm các công nghệ giao diện người dùng và thậm chí logic thực thi. Trong khi có nhiều công dụng thực tế của XML | Appendix A Introduction to XML 403 404 Microsoft Visual Studio 2010 A Beginner s Guide Extensible Markup Language XML is an open-standards cross-platform way of specifying documents. At its origins XML was used to represent data but it has grown in use to include user interface technologies and even executable logic. While there are many practical uses of XML this book is mostly concerned with explaining how XML is used for Silverlight and Windows Presentation Foundation WPF all of which are discussed in chapters of this book. In each of these scenarios some specialization of XML is being used to construct user interfaces. In you use XML for HTML XHTML . Both Silverlight and WPF use XML Application Markup Language XAML pronounced Zamel. Before learning about XHTML or XAML you might want an introduction or refresher on XML which is the purpose of this appendix. While this introduction won t teach you everything about XML it will give you the essentials that can help when seeing how XML is being used. VS 2010 XML Editor You can create your own XML documents in VS 2010 with the XML editor. There are a couple of ways to open a new XML document within or without a project. Without a project select File New File and select XML File and click OK. You can rename the file for instance when saving. Within a project right-click the project select Add New Item select the Data list select XML File give the document a name for instance and click OK. What this gives you is an editor with Intellisense support that is better than Notepad. Listing A-1 shows an XML document that holds customer data. ListingA-1 An XML document example xml version encoding utf-8 customer id 7 name Joe name address 123 4th St address customer As you can see in Listing A-1 an XML document is readable text. It contains data and the meaning of that data is specific to the applications that need to use it. The following sections will decipher Listing A-1 and .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
97    97    2    21-06-2024
2    89    2    21-06-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.