Công cụ miễn phí để xác thực và trích xuất phần klhớp của dữ liệu XML dựa trên biểu thức đầu vào. Đối tượng có được khớp với tham số đã cho sẽ được hiển thị trong ô kết quả đầu ra. Tham khảo ví dụ x-path để biết cách sử dụng.
Thanks for your feedback
Bạn muốn tìm nguyên nhân gốc rễ của vấn đề trong ứng dụng của bạn? Sử dụng Site24x7 APM Insight.
Kiểm tra thời gian hoạt động từ 130 địa điểm trên toàn cầu
Theo Dõi Gửi Mail.
Theo dõi máy chủ SMTP của bạn.
Theo Dõi Máy Chủ POP/IMAP.
Cảnh báo dựa trên AI
Theo dõi máy chủ Microsoft Exchange.
Xử lý sự cố liên quan đến máy chủ mail.
Hiểu những sự phụ thuộc bên ngoài
Theo dõi các thành phần và số liệu tùy chỉnh
Following are few example xpath expressions and results for the above sample xml data
XPath Expression | Description | Result |
---|---|---|
/ | Select the document node | |
/store/chocolates/choco | Select all the 'choco' elements, which are the direct children of 'chocolates' node | |
//name[@no] | Select all the 'name' elements with 'no' attribute | |
/store//snack[last()] | Select the last snack element | |
sum(//price) | Select the sum of price element values | |
string-length(//choco[1]/name) | Select the length of the first 'choco' element's name value | |
//choco[1]/name/text() | Select the textual value of first 'choco' element's name | |
count(/store//choco) | Select the count of 'choco' elements |