Extract by XPath
- In Configuration, keep the global configuration default settings.
- Expand Root Paths, and click Add item to add a path.
-
In
Root path,
enter the file or folder path to index.
For example,
/data/<USER>/xml-sample-data/contacts
-
Expand
XPaths, and click
Add item.
-
In Item
n, enter the Xpath expressions to use. For example,
/person/@name
to retrieve the content of thename
attribute, andtext()
to retrieve the content of a node, like a phone number. -
Enter the meta names associated with the content in
Meta. For example,
title
andtext
.
-
In Item
n, enter the Xpath expressions to use. For example,
-
Click
Apply
to apply changes to the configuration.
The connector configuration is complete. You can now scan and index the documents.