Skip to content

POC of XPath Evaluator#1069

Open
ken-werner-sp wants to merge 11 commits into
mainfrom
xpath-evaluator
Open

POC of XPath Evaluator#1069
ken-werner-sp wants to merge 11 commits into
mainfrom
xpath-evaluator

Conversation

@ken-werner-sp
Copy link
Copy Markdown
Collaborator

This is a POC for the frontend of an XPath Evaluator tool, based entirely on the existing JSON Path Evaluator. Default values are a fake generated WorkDay result and XPath query for LastName. Relies upon a Lambda for XPath parsing. Errors are minimally exposed and will primarily result in a lack of output.

This is a POC for the frontend of an XPath Evaluator tool, based entirely on the existing JSON Path Evaluator. Default values are a fake generated WorkDay result and XPath query for LastName. Relies upon a Lambda for XPath parsing. Errors are minimally exposed and will primarily result in a lack of output.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 2, 2026

CLA assistant check
All committers have signed the CLA.

Comment thread src/pages/tools/xpath-evaluator.tsx
Comment thread src/components/xpath/InputTerminal/index.tsx
Comment thread src/pages/tools/xpath-evaluator.tsx Outdated
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 2, 2026

🌎🌎🌎 Visit the preview URL for this PR HERE
built from commit cbb1f7f

Terminal class updates based on error bool hasXmlParseError
Ace Editor module URL correction
Remove fake "WorkDay" data, use fake data from nonexistent HR source "Xylophonic HR"
@codey-bot codey-bot Bot deleted a comment from github-actions Bot Apr 2, 2026
CSP exception not necessary with tsx service
Replace the single-query XPath evaluator input with a JSON attribute-mappings input so multiple attributeId/xpath pairs can be evaluated per root node. Keep the existing browser-based XML parsing/evaluation behavior, and add mapping-level XPath validation plus clearer parse/error handling in the tool UI.

Also update evaluator defaults and examples to include richer mappings (firstName, lastName, employeeId by typed ID, phoneNumber, countryCodeFromNameData), and enhance input terminals to support JSON mode, shared parse-error styling, and configurable titles for XML vs mapping inputs.
@codey-bot codey-bot Bot deleted a comment from github-actions Bot Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants