xpath function not working

Created on 21 September 2018, over 6 years ago
Updated 18 April 2024, 12 months ago

Hi.

I'm trying to use a function in a source mapping and the xpath statement doesn't return anything when I run the import.

I know for a fact that the xpath query is valid because I can run it outside of drupal.

Here's what I have:

context: //person[@role='interviewee']
source: event[@type='internment']/fn:substring(@ref, 2)

The function in bold is what is not working. Does anyone have any thoughts on this? Does this module support xpath functions?

πŸ› Bug report
Status

Closed: outdated

Component

XML parser

Created by

πŸ‡ΊπŸ‡ΈUnited States timfluhr

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024