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

Tài liệu tham khảo về công nghệ thông tin dành cơ sở dữ liệu máy tính cho các bạn ngành tin học tham này liên quan đến việc đặt một DOCTYPEdeclaration ở phía trên cùng của tập tin của bạn. Khi bạn chuyển đổi XHTML của bạn một stylesheet XSLT, bạn sẽ cần phải loại bỏ các khai báo DOCTYPE. Nói chung, bạn sẽ muốn sử dụng DTD chuyển tiếp. | 340 Chapter 13 xsl include and xsl import Syntax These two elements share almost the exact same syntax xsl import href address xsl include href address The href attribute specifies the URI of the stylesheet that you wish to import or include respectively. They can be the children of the top-level element only and they can have no children. If they are used they must be the first children of the root element. Specifically no child element of the root can precede xsl import except xsl include and no child element of the root can precede xsl include except xsl import. xsl apply-imports This element is used to override the default behavior of XSLT concerning imported stylesheets. By default an imported stylesheet template is used only if there are no templates of the same name defined in the main stylesheet. With xsl apply-imports you can specifically request that an imported template be applied from within a template of the same name. xsl apply-imports This element can t have children and the only valid parent is xsl template. Sorting XSLT gives you a mechanism for sorting data. Of course you can also sort at the SQL level. Generally speaking it is more efficient to sort at the SQL level than at the XSLT level. There will be cases though in which you will need to sort by using XSLT. This section defines the syntax for the xsl sort element and gives examples of it s use. xsl sort Syntax The xsl sort element changes the default sorting. By default elements are presented in document order. However the elements are sequenced in the document in the order in which they are output. The xsl sort element allows the order to be changed to some other kind of sorting typically alphabetic or numeric and based on some property of the elements to be sorted. xsl sort select sort_expression lang data-type text number other_processor_supported_type order ascending descending case-order upper-first lower-first Table lists the attributes. XSLT In-Depth 341 Table xsl sort .

TÀI LIỆU LIÊN QUAN
TỪ KHÓA LIÊN QUAN