Open topic with navigation

# XML Parsing Parameters

The parameters in this section configure how CFS parses XML files that it receives.

ContentPaths

DocumentRootPaths

IncludeRootPath

ReferencePaths

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

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm