Error: Too many requests. Please try again later. x
Log In

Pengevaluasi XPath

Alat gratis untuk memvalidasi dan mengekstrak potongan data XML yang cocok dengan ekspresi input. Objek hasil yang cocok dengan parameter yang diberikan akan ditampilkan di kotak hasil output. Lihat templat x-path untuk penggunaan.

Ingin menemukan akar masalah kinerja di aplikasi Anda? Gunakan Site24x7 APM Insight.

Periksa waktu aktif dari 130 lokasi global

Pemantauan Pengiriman Email.

Pantau server SMTP Anda.

Pemantauan Server POP/IMAP.

Peringatan yang didukung AI

Pemantauan server Microsoft Exchange.

Selesaikan masalah yang terkait dengan server email.

Pahami dependensi eksternal

Pantau komponen dan metrik kustom

XPath Examples

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