tailieunhanh - Introduction to XSLT Concepts phần 5

C của cơ sở dữ liệu, sắp xếp lại cho in ấn web Customized C = người sử dụng khác nhau có được C thứ tự khác nhau C văn bản khác nhau hay những nội dung C cùng một nội dung khác nhau nhìn và cảm thấy C In theo yêu cầu (với dữ liệu lên đến phút này) | Introduction to XSLTConcepts slide 65 XPath Has Two Main Uses First use Addressing addresses finds part of an XML document can address any part of the tree from any other ask for something in an XML document gimme my footnote . and get it back Second use in XSLT for Testing Matching test whether a node in a tree matches a pattern is this node a paragraph that is inside a footnote that has an attribute called footnote-type with the value legal slide 66 You ve Seen XPath in match Expressions xsl template match title Matches title elements xsl template match scene title Matches title elements that have a scene parent xsl template match para @type warning Matches para elements that have a type attribute that has a value of warning slide 67 XPath Can Be Very Complex all that power has a price child slide attribute type overview child list count descendent item 8 preceding slide descendant title contains self node Business Thanks to Jeni Tennison for select following-sibling transaction @type type and substring @date 4 2 month 1 Mjlburry Tscnnoogles Inc. Page 35 Introduction to XSLTConcepts Another Complexity Push-me Pull-you Stylesheets slide 68 XSLT is By design and default driven by the XML input file That means you tell it what to do not how or when Automatically recursive through the use of templates slide 69 XSLT can be Written in Two Ways 1 Way 1 Input-driven called Push walk the input tree match elements in input tree do something when you find a match This is what XSLT was designed to do This works the best when it works for your data slide 70 XSLT can be Written in Two Ways 2 Way 2 Stylesheet driven called Pull more like a typical computer program walk the stylesheet which specifies the order of the output document when it asks for data go get it from the input tree Similar to some fill-in-the-blank programming languages Pull stylesheets are most useful when you have very regular data Wjlburry Tachinữĩjgiú Inc. Page 36 Introduction to XSLTConcepts slide 71 What

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.