Real World Adobe InDesign CS4- P27

Real World Adobe InDesign CS4- P27: The book uses Robert Slimbach’s Minion Pro, an Adobe OpenType face, which was particularly useful when moving files across platforms. Code samples are set in Lucas de Groot’s TheSansMonoCondensed. A few other fonts were used for example characters. | 768 REAL WORLD ADOBE INDESIGN CS4 This declares that the element is named first and that the element contains text that s what PCDATA means . A slightly more complex element is shown below. ELEMENT name first middle last This element is named name and is made up of three elements first middle and last. The question mark after the element middle means that this element is optional. Other marks specify other things about the content of the element see Table 14-2. Attributes. An attribute contains additional information about an element. Attibutes are generally used for storing metadata again that s data about the data in the element not necessarily data you want to print out the date the element was created or updated would be examples of element attributes . An example attribute looks like this ATTLIST address updated CDATA IMPLIED Attribute declarations are lists with four parts the element name the attribute name the attribute type and whether or not it s required. In the above example the attribute is associated with the address element the attribute is named updated the attribute contains the data type CDATA text and it s optional. The attribute options for the last parameter required are REQUIRED means the attribute is required. IMPLIED means the attribute is optional. FIXED is always followed by a value if the attribute is missing then it s assumed to be this value. Some default value. This is really the same as FIXED above in that the value provides the default value. An Example DTD Given our very simple XML database example we can construct a DTD to use for validating new versions of the database. It would look something like the following. -- DTD for author -- ELEMENT author name address city state zip ELEMENT name first middle last ELEMENT first PCDATA ELEMENT middle PCDATA ELEMENT last PCDATA ELEMENT address PCDATA ELEMENT city PCDATA 781 08 04 2009 05 56 20 . CHAPTER 14. XML 769 TABLE 14-2 Element Codes Symbol What .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã 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.