TAILIEUCHUNG - XML in 60 Minutes a Day phần 4

Trong trường hợp này, tất cả các hệ thống không gian Gems DMZ1 và DMZ2 có thể có phần mềm máy chủ Web được cài đặt trên chúng. Cũng có thể có phần mềm máy chủ Web được cài đặt trên một số hệ thống mạng riêng. Bây giờ, nếu một người dùng cuối một nơi nào đó trên Internet vào | 186 Chapter 5 Schema Document Structures There are almost as many ways to create a logical structure for a schema document as there are schema documents. But they are all variations or combinations of two basic approaches the nesting approach or the flat catalog approach. The Nesting Structure The nesting structure is based on a predominance of locally declared data types Figure uses element type declarations as examples . Figure illustrates the element type hierarchy of a nesting approach. A full element declaration is inserted every time an element type is needed. Notice that in Figure there are no ref elementxx declarations. Figure depicts the schema document that reflects the hierarchy presented in Figure . In the generic schema document depicted in Figure the element type named element6 appears within four other element types element2 element4 element5 and element7 . It is fully declared within each one and in each case the declaration is identical. Many programmers call this structure the nesting doll or Russian doll structure since the element declarations are cloaked one within another reminiscent of those festive hollow dolls that act as containers for identical but smaller dolls. Among the advantages to the nesting structure are the ease with which you can create context-sensitive element tags. However compared to the flat catalog discussed in the next section the XML parser uses more resources when processing this type of schema. Further if a designer wants to make changes to for example the element6 declaration in Figure then those changes must be made to the element6 declarations in all four locations. This takes time and may introduce the risk of mistakes in one or more of the element6 declarations. That may not be a big issue for a small schema but it could be problematic for larger schemas. xs schema I name element1 I---------------------1--------------------1 name element 2 name element 3 name element 4 name element 5 .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.