tailieunhanh - Teach Yourself J2EE in 21 Days phần 10

Cuối cùng, tên của nút được chọn sẽ được chèn vào dòng đầu ra bằng cách sử dụng tên () chức năng trong dòng 13. Hình 17,2 cho thấy kết quả của việc áp dụng các kiểu từ Liệt kê 17,10 đếnA. Những người sáng tạo của ngôn ngữ thích UML. "Q. Bạn nói rằng khái niệm hướng đối tượng đóng một vai trò quan trọng trong | 992 Appendix C Document Type Definition DTD A Document Type Definition DTD is a way of defining the structure of an XML document. DTD elements can be included in the XML document itself or in a separate external document. The syntax used to define a DTD is different from XML itself. The following is an example DTD that describes the jobSummary XML DOCTYPE jobSummary ELEMENT jobSummary job ELEMENT job location description skill IATTLIST job customer CdATA rEqUIReD IATTLIST job reference CDATA REQUIRED IELEMENT location PCDATA IELEMENT description PCdAtA IELEMENT skill PCDaTa The IDOCTYPE element must include the name of the root element. If the remainder of the document type definitions are stored in an external file it will have the following form IDOCTYPE root_element SYSTEM external_filename If the definitions are included in the XML document itself the IDOCTYPE element must appear in the document prolog before the actual document data begins. In this case the IDOCTYPE element must include all the DTD elements with the following syntax IDOCTYPE jobSummary IELEMENT jobSummary job IELEMENT job location description skill IATTLIST job customer CdATA rEqUIReD IATTLIST job reference CDATA REQUIRED IELEMENT location PCDATA IELEMENT description PCdAtA IELEMENT skill PCDaTa The other elements IELEMENT and IATTLIST are described in this section. Elements Element declarations take the following form IELEMENT element_name content where element_name is the XML tag and content is one or more of the values shown in Table . An Overview of XML 993 Table DTD Content Specifications for Elements Content Type Syntax Element contains Element ELEMENT tag sub1 Sub-element only PCDATA ELEMENT tag PCDATA Text only EMPTY ELEMENT tag EMPTY Nothing ANY ELEMENT tag ANY anything text or elements Note PCDATA limits the content of the element to character data only nested elements are not allowed. Do no confuse with CDATA sections in XML that are used to present large areas of .

crossorigin="anonymous">
Đã 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.