TAILIEUCHUNG - Beginning XML with DOM and Ajax From Novice to Professional phần 6

ờ khai liên kết các không gian tên msxsl với urn: schemas-microsoft-com: XSLT URI. URI này được định nghĩa bởi Microsoft và nói với bộ vi xử lý XSLT để thực hiện các chức năng mở rộng của Microsoft có sẵn để stylesheet. Khi bạn muốn sử dụng các yếu tố từ không gian tên này, bạn sẽ tiền tố với msxsl trong stylesheet. | 206 CHAPTER 7 ADVANCED CLIENT-SIDE XSLT TECHNIQUES The declarations associate the msxsl namespace with the urn schemas-microsoft-com xslt URI. This URI is defined by Microsoft and tells the XSLT processor to make Microsoft extension functions available to the stylesheet. When you want to use elements from this namespace you ll prefix them with msxsl in the stylesheet. The prefix msxsl is the convention for IE extensions however the text itself isn t significant. You could use any other prefix providing that you use it consistently. The second of the new namespace declarations defines the user prefix. This prefix will apply to extension functions. By convention this namespace should be a URI referencing the organization. In this case I ve referred to an Apress URI http namespace. The URI might contain a web page describing the functions available within the namespace. However there is no requirement for this to happen. The uniqueness of the URI is what is important here. You re not bound to use the prefix user and could use any other valid text. The xsl stylesheet element also includes the attribute extension-element-prefixes msxsl This attribute prevents the extension namespace msxsl from being included as output in the transformed document. Because the declaration includes the msxsl namespace the msxsl script element is available to the stylesheet. This allows the stylesheet to include a script block containing extension functions. msxsl script language JScript implements-prefix user Notice that the msxsl element can specify the language for the script in this case JScript. The implements-prefix user attribute shows that the stylesheet will prefix the extension functions with the text user. Note JScript is the Microsoft implementation of JavaScript used with IE. Once the stylesheet includes these namespaces it can include extension functions within the msxsl script element. Adding Extension Functions to the Stylesheet The stylesheet imports the .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.