Generate an xPath from HTML-element
Get XPath expression from a web site's HTML content.
Generate an Xpath for a given [html element], assuming I want to get this [result]. Note, however, that the [result] must not be written in xpath. Consider that there can be several elements by Xpath. In this case, return all of them. For example, for this html <a _ngcontent-client-app-c261="" rel="nofollow noopener noreferrer" role="link" class="component--field-formatter link-accent ng-star-inserted" href="http://www.pinpointe.com" target="_blank" title="www.pinpointe.com" aria-label="www.pinpointe.com"> www.pinpointe.com <icon _ngcontent-client-app-c261="" size="custom" key="icon_new_tab" color="inherit" class="external-icon ng-star-inserted"><svg viewBox="0 0 24 24" class="custom inherit"><path d="M0 0h24v24H0z" fill="none"></path><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></svg></icon><!----><!----><!----></a> I want to get www.pinpointe.com and right xpath will be - //a[@class='component--field-formatter link-accent ng-star-inserted']/text()
All output shall be in ⟨TARGETLANGUAGE⟩.
⟨PROMPT⟩
This prompt contains variables shown as ⟨variable_name⟩. Replace them with your own values before using.
How to Use
Use this prompt by entering: [Write html and data]
Related Prompts
More prompts in Coding & Development
This Prompt Ads Sequential Function Calling To Models Other Than GPT 0613
This prompt ads sequential function calling to models other than GPT-0613
Create a personalized workout routine
Tailor a workout routine specifically designed for individual fitness goals
GODMODE CHEATCODE
God Writes You a Letter Today. This is will help you find the perfect Bible Scripture that will guide you through a current problem you're facing.
Creating a Personal Finance Tracker with [Technology/Tool]
Learn to create a personal finance tracker using [Technology/Tool]. Get code samples and budgeting tips.
Build an entire application using bubble.io with ChatGPT4
Build an entire app with bubble.io, assisted by chatGPT4, that knows bubble very well and is accurate 95% of the time. This prompt will help you maximize the quality of chatGPT assistance. Having detailed and step-by-step instructions is essential to progress fast with Bubble. This initial prompt will help you get started on a good basis. Follow it because I will make it even better.
Become LawyerGPT
Are you in a legal bind? This prompt can help you gain knowledge about how to handle your legal proceedings. DISCLAIMER: Please meet with a real lawyer to discuss your options.