tailieunhanh - Oracle XSQL combining sql oracle text xslt and java to publish dynamic web content phần 6

Sau khi quan sát các quy tắc này, bạn có một tài liệu tốt được hình thành. Điều này là tất cả những gì bạn cần phải sử dụng HTML của bạn như là một stylesheet XSLT. Để đi trước và làm cho XHTML tài liệu của bạn, nó phải xác nhận đối với một trong các DTD XHTML được liệt kê trong Bảng 12,3. | 280 Chapter 12 After observing these rules you have a well-formed document. This is all that you need to use your HTML as an XSLT stylesheet. To go ahead and make your document XHTML it must validate against one of the XHTML DTDs that are listed in Table . This involves putting a DOCTYPEdeclaration at the top of your file. When you transition your XHTML to an XSLT stylesheet you will need to remove the DOCTYPE declaration. Generally you are going to want to use the Transitional DTD. You declare this by using the following at the top of your document DOCTYPE html PUBLIC - W3C DTD XHTML Transitional EN http TR xhtml1 DTD If you use frames and you want your frameset page to be XHTML you need to use the following DOCTYPE declaration DOCTYPE html PUBLIC - W3C DTD XHTML Frameset EN http TR xhtml1 DTD If you wish to use the Strict DTD this is the declaration that you want DOCTYPE html PUBLIC - W3C DTD XHTML Strict EN http TR xhtml1 DTD The key requirement that both the Transitional and Strict DTDs enforce is that a head section is required. Even if it is empty you still have to have it. The strict DTD goes a bit further on a couple of points It is much stricter about structure and doesn t allow deprecated attributes. Table XHTML DTDs DTD DESCRIPTION Transitional Probably your best bet. It is loose and allows you to create code that is largely compatible with older HTML standards. Strict This DTD enforces all of XHTML rules especially pertaining to how documents must be structured. Its use could cause backward compatibility problems for older browsers. Frameset The frameset DTD is used on pages that describe framesets. XSLT 281 When using the Strict DTD you will probably run into the structural requirements when a child element of the body tag isn t a block element. Only block elements can be direct children of the body element. The following are block elements .

TÀI LIỆU LIÊN QUAN
TỪ KHÓA LIÊN QUAN
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.