diff --git a/src/exporter/saltxml.rs b/src/exporter/saltxml.rs index 85627eeb..63ea5d58 100644 --- a/src/exporter/saltxml.rs +++ b/src/exporter/saltxml.rs @@ -379,7 +379,7 @@ where format!("//@nodes.{source_position}"), )); attributes.push(( - parse_attr_name("source")?, + parse_attr_name("target")?, format!("//@nodes.{target_position}"), )); diff --git a/src/exporter/saltxml/snapshots/annatto__exporter__saltxml__tests__export_corpus_structure.snap b/src/exporter/saltxml/snapshots/annatto__exporter__saltxml__tests__export_corpus_structure.snap index b8d4087a..5fe2ffbb 100644 --- a/src/exporter/saltxml/snapshots/annatto__exporter__saltxml__tests__export_corpus_structure.snap +++ b/src/exporter/saltxml/snapshots/annatto__exporter__saltxml__tests__export_corpus_structure.snap @@ -21,8 +21,8 @@ expression: result - - + + diff --git a/src/exporter/saltxml/snapshots/annatto__exporter__saltxml__tests__export_example_token.snap b/src/exporter/saltxml/snapshots/annatto__exporter__saltxml__tests__export_example_token.snap index b96599f1..6843cb06 100644 --- a/src/exporter/saltxml/snapshots/annatto__exporter__saltxml__tests__export_example_token.snap +++ b/src/exporter/saltxml/snapshots/annatto__exporter__saltxml__tests__export_example_token.snap @@ -54,64 +54,64 @@ expression: result - - - - - - - - - - - - + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - +