XML Parsing Parameters
The parameters in this section configure how CFS parses XML files that it receives.
Consider the following XML:
<xml> <documents> <document my_attribute="value"> <metadata> <name>This is the name of the document</name> <created>28/02/15 11:01:17</created> <modified>28/02/15 15:23:00</modified> </metadata> <content>Here is some content</content> </document> <document> <metadata> <name>This is another document</name> <created>01/03/15 12:21:13</created> <modified>02/03/15 13:23:03</modified> </metadata> <different_content>Here is some content</different_content> </document> </documents> </xml>
You could parse this XML using the following configuration:
[XMLParsing] DocumentRootPaths=documents/document IncludeRootPath=TRUE ReferencePaths=metadata/name ContentPaths=content,different_content