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/@nameto retrieve the content of thenameattribute, andtext()to retrieve the content of a node, like a phone number. -
Enter the meta names associated with the content in
Meta. For example,
titleandtext.
-
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.