TAILIEUCHUNG - Database and XML Technologies- P3

Tham khảo tài liệu 'database and xml technologies- p3', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 90 S. Böttcher and R. Steinmetz Transformation Normalization and Simplification of XPath Queries We need an additional transformation step in order to normalize the formulas of both XPath expressions. First of all we transform relative XPath expressions into absolute ones. Thereafter we insert root at the beginning of an XPath expression if the XPath expression does not start with a child-axis location step where root is assumed to be the name of the root-element of the DTD. If the XPath expression contains one or more parent-axis location steps or ancestor-axis location steps these steps are replaced from left to right according to the following rules. Let LS1 . LSn be location steps which neither use the parent-axis nor the ancestor-axis and let XPtail be an arbitrary sequence of location steps. Then we replace LS1 . LSn child E F . XPtail with LS1 . LSn . E F XPtail . Similarly in order to replace the first parent-axis location step in the XPath expression LS1 . LSn descendant E F . XPtail we use the DTD graph in order to compute all parents P1 . Pm of E which can be reached by descendent E after LSn has been performed and we replace the XPath expression with LS1 . LSn P1 . Pm . E F XPtail . In order to substitute an ancestor location step ancestor E F in an XPath expression LS1 . LSn ancestor E F XPtail we use the DTD graph in order to compute all the possible positions between the root and the element selected by LSn where E may occur. Depending on the DTD graph there may be more than one position . we replace the given XPath expression with E F LS1 . LSn XPtail LS1 E F LS2 . LSn XPtail . LS1 . LSn-1 E F LSn XPtail . Similar rules can be applied in order to eliminate the ancestor-or-self-axis the selfaxis and the descendent-axis such that we finally only have child-axis and descendant-or-self-axis-location steps and additional filters within our XPath expressions. Finally nested filter expressions are eliminated . a filter . E1 . @a and not @b 3 is .

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