xpathwithurl
Extract specific data from XML/HTML content using XPath queries. Provide a URL and XPath expression to fetch and filter content from web pages or documents.
Instructions
Fetch content from a URL and select query it using XPath
Input Schema
Name | Required | Description | Default |
---|---|---|---|
mimeType | No | The MIME type (e.g. text/xml, application/xml, text/html, application/xhtml+xml) | text/html |
query | Yes | The XPath query to execute | |
url | Yes | The URL to fetch XML/HTML content from |
Input Schema (JSON Schema)
{
"properties": {
"mimeType": {
"default": "text/html",
"description": "The MIME type (e.g. text/xml, application/xml, text/html, application/xhtml+xml)",
"type": "string"
},
"query": {
"description": "The XPath query to execute",
"type": "string"
},
"url": {
"description": "The URL to fetch XML/HTML content from",
"type": "string"
}
},
"required": [
"url",
"query"
],
"type": "object"
}