id: wine_role_xml
label: XML feed of roles (positions)
migration_group: wine
+migration_tags:
+ - advanced example
source:
# We use the XML data parser plugin.
plugin: url
# Normally, this is one or more fully-qualified URLs or file paths. Because
# we can't hardcode your local URL, we provide a relative path here which
# hook_install() will rewrite to a full URL for the current site.
- urls: /migrate_example_advanced_position?_format=xml
+ urls:
+ - /migrate_example_advanced_position?_format=xml
# Visit the URL above (relative to your site root) and look at it. You can see
# that <response> is the outer element, and each item we want to import is a
# <position> element. The item_xpath value is the xpath to use to query the