Skip to content

Commit

Permalink
fix: rename xml to xpath
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeflug committed Feb 25, 2023
1 parent 90e4e8a commit 2185493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/value-extractors/value-extractor-xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { select } from 'xpath'

export const valueExtractorXml: ValueExtractor = {
type: 'xml',
displayName: 'XML',
displayName: 'XPath',
argumentName: 'XPath',
extract: async (sourceValue: string, extractionArgument: string): Promise<string | null | undefined> => {
const xmlDoc = new DOMParser().parseFromString(sourceValue)
Expand Down

0 comments on commit 2185493

Please sign in to comment.