Advanced: External anchors for sections
The following examples show using text external to sections groups as anchors for the section’s fields.
One example uses a static external range to anchor on a heading that occurs once in the document. Another example uses a dynamic external range to anchor on irregularly repeating headings interleaved with sections.
Example: static
The following example shows extracting repeated fields from a section group, when each section lacks anchoring text. To overcome this limitation, the example accesses anchors outside the sections by defining a single, static external range that occurs at the beginning of the document.
In the following screenshot, the green brackets denote sections, where each section is a claim. The orange brackets denote an external range. The labels for the claims’ content is at the start of the document, under the Claims contents
heading. The example defines an external range for these labels, then uses the Intersection method to specify vertical anchors in the external range.
Config
Example document
The following image shows the data extracted by this config for the following example document.
Example document | Download link |
---|
Output
Example: Dynamic
The following example shows extracting repeated fields from a section group, when each section lacks anchoring text. To overcome this limitation, the example accesses anchors outside the sections. The sections anchor on external ranges that capture page headings, whose alignment changes for odd and even pages. To avoid misaligned Intersection methods in each section, the example defines dynamic external ranges relative to each section to capture each page’s heading.
In the following screenshot, the green brackets denote sections, where each section is a claim. Orange brackets denote external ranges. The labels for the claims’ content is at the start of each page, under the Claims contents
heading.
Config
Example document
The following image shows the example document used with this example config:
Example document | Download link |
---|
Output