--- title: "Check XPath" slug: "plugins-xpath" updated: 2026-10-27T09:03:09Z published: 2026-10-27T09:03:09Z canonical: "docs.lobstersoftware.com/plugins-xpath" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Check XPath With this plugin, you can run XPath queries on XML files. You can either enter the XPath expression required for the query yourself or have it generated by Pathfinder. ## Navigation path **Plugins > Check XPath** ## Settings ![](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-J5SXQBOX.png) ① **Test data:** The data to which the XPath expression ② is applied. **NOTE:** The test data must not exceed 1 MB. If the data comes from a file, the file size limit applies. ② **XPath term:** The XPath expression that is applied to ①. **NOTE:** This article does not cover XPath syntax in detail. You can find numerous examples online. ③ **Generate XPath**: Opens the Pathfinder chat window ④. ④ **Pathfinder chat window:** Here you can describe which element or value you want to read from the test data ①. Pathfinder then generates a matching XPath expression and explains how it works. An icon below the expression inserts it directly into the XPath expression field ②. ⑤ **Execute query:** Executes the query and writes the result to **Test result** ⑥. ⑥ **Test result:** The result of the query. ## Example file ```xml   10                 red         19.95                                Nigel Rees            reference            8.95            Sayings of the Century                            Herman Melville            fiction            0-553-21311-3            8.99            Moby Dick                            J.R.R. Tolkien            fiction            0-395-19395-8            22.99            The Lord of the Rings                 ``` ## Generate XPath expression with Pathfinder 1. Insert your XML data into the **Test data** field. 2. Click **Generate XPath**. The Pathfinder chat window opens. 3. In the input field, describe which element or value you want to read. **Example**: `All books more expensive than the value in expensive`. 4. Pathfinder generates an XPath expression and explains how it works. 5. Click below the expression on ![](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-7HLFEK0A.png). The expression will then appear in the **XPath term** field.![](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-1NCNY5E4.png) 6. Click **Execute query**. The result appears under **Test result**. > [!TIP] > **TIP** > > If the test result is empty, describe to Pathfinder in the chat window what result you expected. Pathfinder will then check the expression against your test data. XML (Extensible Markup Language) is a structured text format for storing and exchanging data. Content is enclosed within freely definable tags such as `<order>`. XML is human-readable, machine-processable, and platform-independent. In the Lobster Data Platform, you can receive, parse, and generate XML data. Lobster Data Platform's AI helper that answers questions based on product documentation and can generate content such as cron expressions, SQL queries, and regular expressions (regex). The range of functions is continuously expanded.