title: How to scrape keywords that change every time?
body: <p>I am trying to scrape a keyword in an xml document with BeautifulSoup but am unsure how to do so.</p>
  <p>The xml document contains &quot;Central Index Key,&quot; which changes each time for each document scraped. How would I be able to log the central index key for every unique xml document I scrape?</p>
  <p>A sample is below. I want to log the string &quot;0001773427&quot; in this example:</p>
  <pre><code>&lt;SEC-DOCUMENT&gt;0001104659-22-079974.txt : 20220715
  &lt;SEC-HEADER&gt;0001104659-22-079974.hdr.sgml : 20220715
  &lt;ACCEPTANCE-DATETIME&gt;20220715060341
  ACCESSION NUMBER:       0001104659-22-079974
  CONFORMED SUBMISSION TYPE:  8-K
  PUBLIC DOCUMENT COUNT:      14
  CONFORMED PERIOD OF REPORT: 20220714
  ITEM INFORMATION:       Departure of Directors or Certain Officers; Election of Directors; Appointment of Certain Officers: Compensatory Arrangements of Certain Officers
  ITEM INFORMATION:       Financial Statements and Exhibits
  FILED AS OF DATE:       20220715
  DATE AS OF CHANGE:      20220715
  
  FILER:
  
      COMPANY DATA:   
          COMPANY CONFORMED NAME:         SpringWorks Therapeutics, Inc.
          CENTRAL INDEX KEY:          0001773427
          STANDARD INDUSTRIAL CLASSIFICATION: BIOLOGICAL PRODUCTS (NO DIAGNOSTIC SUBSTANCES) [2836]
          IRS NUMBER:             000000000
          STATE OF INCORPORATION:         DE
          FISCAL YEAR END:            1231
  
      FILING VALUES:
          FORM TYPE:      8-K
          SEC ACT:        1934 Act
          SEC FILE NUMBER:    001-39044
          FILM NUMBER:        221084206
  
      BUSINESS ADDRESS:   
          STREET 1:       100 WASHINGTON BOULEVARD
          CITY:           STAMFORD
          STATE:          CT
          ZIP:            06902
          BUSINESS PHONE:     203-883-9490
  
      MAIL ADDRESS:   
          STREET 1:       100 WASHINGTON BOULEVARD
          CITY:           STAMFORD
          STATE:          CT
          ZIP:            06902
  &lt;/SEC-HEADER&gt;
  </code></pre>