title: Python parser on xml not able to return branches
body: <p>I am currently attempting to parse a downloaded xml file and write to a csv file however I'm a little inexperienced with xml formatting. Regardless I am able to return the elements from the first branch <code>Filing</code> but I am unable to return anything from the following branches such as <code>Registrant</code>.</p>
  
  <p>Here is the xml that I am attempting to sift through:</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='UTF-16'?&gt;
  &lt;PublicFilings&gt;
  &lt;Filing ID="146DC558-FB00-4BAB-A393-EC50483FB7A9" Year="2014" Received="2014-10-08T12:31:59.127" Amount="10000" Type="THIRD QUARTER REPORT" Period="3rd Quarter (July 1 - Sep 30)"&gt;
  &lt;Registrant xmlns="" RegistrantID="36366" RegistrantName="Sports &amp;amp; Fitness Industry Association" GeneralDescription="Representing Manufacturers, retailers and other interests in sports and fitness business" Address="8505 Fenton Street&amp;#xD;&amp;#xA;Suite 211&amp;#xD;&amp;#xA;Silver Spring, MD 20910" RegistrantCountry="USA" RegistrantPPBCountry="USA" /&gt;
  &lt;Client xmlns="" ClientName="Sports &amp;amp; Fitness Industry Association" GeneralDescription="" ClientID="12" SelfFiler="TRUE" ContactFullname="WILLIAM H. SELLS III" IsStateOrLocalGov="TRUE" ClientCountry="USA" ClientPPBCountry="USA" ClientState="MARYLAND" ClientPPBState="MARYLAND" /&gt;
  &lt;Lobbyists&gt;
  &lt;Lobbyist xmlns="" LobbyistName="Sells, William Howard III" LobbyistCoveredGovPositionIndicator="NOT COVERED" OfficialPosition="" /&gt;&lt;/Lobbyists&gt;
  &lt;GovernmentEntities&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="Education, Dept of" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="Health &amp;amp; Human Services, Dept of (HHS)" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="U.S. Trade Representative (USTR)" /&gt;&lt;GovernmentEntity xmlns="" GovEntityName="Consumer Product Safety Commission (CPSC)" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="Internal Revenue Service (IRS)" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="Federal Trade Commission (FTC)" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="Intl Trade Administration (ITA)" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="Interior, Dept of (DOI)" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="Centers For Disease Control &amp;amp; Prevention (CDC)" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="Transportation, Dept of (DOT)" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="Natl Institutes of Health (NIH)" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="Justice, Dept of (DOJ)" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="Commerce, Dept of (DOC)" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="HOUSE OF REPRESENTATIVES" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="SENATE" /&gt;
  &lt;GovernmentEntity xmlns="" GovEntityName="U.S. Customs &amp;amp; Border Protection" /&gt;
  &lt;/GovernmentEntities&gt;
  &lt;Issues&gt;
  &lt;Issue xmlns="" Code="SPORTS/ATHLETICS" SpecificIssue="Physical Activity, Sports, Recreation, Exercise &amp;amp; Fitness, Sedentary Lifestyles, Pay-to-Play, Title IX, Sports Injuries &amp;amp; Concussions" /&gt;
  &lt;Issue xmlns="" Code="HEALTH ISSUES" SpecificIssue="Childhood Obesity, Obesity, Chronic Disease, Prevention via Physical Activity, Wellness Benefits of Physical Activity" /&gt;
  &lt;Issue xmlns="" Code="TRANSPORTATION" SpecificIssue="Trail Development, Park &amp;amp; Recreation Access, Highway Fees, Safe Routes to School" /&gt;
  &lt;Issue xmlns="" Code="TAXATION/INTERNAL REVENUE CODE" SpecificIssue="Physical Activity Tax Incentives, Duties &amp;amp; Tariffs, Tax Relief, Tax Reform, Internet Sales Tax" /&gt;
  &lt;Issue xmlns="" Code="COPYRIGHT/PATENT/TRADEMARK" SpecificIssue="Intellectual Property Rights, Rogue Websites, False Markings, Counterfeit &amp;amp; Fake Products, Patent Reform" /&gt;
  &lt;Issue xmlns="" Code="TRADE (DOMESTIC/FOREIGN)" SpecificIssue="Shipping Act Reform, Intellectual Property Rights Enforcement, Free Trade Agreements, Tariffs, Duties, Quotas, Market Access" /&gt;
  &lt;Issue xmlns="" Code="TORTS" SpecificIssue="Product Liability, Intellectual Property Rights" /&gt;
  &lt;Issue xmlns="" Code="REAL ESTATE/LAND USE/CONSERVATION" SpecificIssue="Park &amp;amp; Recreation Development &amp;amp; Maintenance, Land &amp;amp; Water Conservation Fund, Urban Planning, Park &amp;amp; Recreation Access, National Park Preservation" /&gt;
  &lt;Issue xmlns="" Code="TARIFF (MISCELLANEOUS TARIFF BILLS)" SpecificIssue="Tariffs &amp;amp; Duties on Sporting Goods &amp;amp; Ftiness Products and Equipment, Trade Agreements" /&gt;
  &lt;Issue xmlns="" Code="EDUCATION" SpecificIssue="Phyical Education Funding, ESEA Reauthorization, Physical Activity, Pay-to-Play School Sports, School Sports Injuries" /&gt;
  &lt;Issue xmlns="" Code="APPAREL/CLOTHING INDUSTRY/TEXTILES" SpecificIssue="Tariffs, Duties, Free Trade Agreements, Chinese Currency Valuation, Market Access, TPP, TTIP, TPA" /&gt;
  &lt;Issue xmlns="" Code="CONSUMER ISSUES/SAFETY/PRODUCTS" SpecificIssue="CPSIA Compliance, Product Testing, Product Safety Database, Sports Equipment &amp;amp; Helmet Safety" /&gt;
  &lt;Issue xmlns="" Code="MANUFACTURING" SpecificIssue="Trade Agreements, Product Safety, Domestic Job Creation, Access to Raw Materials, Restrictions on Product Content, Outsourcing" /&gt;&lt;/Issues&gt;&lt;/Filing&gt;
  </code></pre>
  
  <p>And here is my current python code using element tree in python</p>
  
  <pre><code>import xml.etree.ElementTree as ET
  import xml
  import csv
  import datetime
  
  e = xml.etree.ElementTree.parse('/Users/Ryan/Downloads/2015_1/2015_1_1_1.xml').getroot()
  
  #filing_elements = ['filing_ID', 'Year', 'Amount', 'Type', 'Period']
  #Filing
  
  IDs = []
  for atype in e.findall('Filing'):
      IDs.append(atype.get('ID'))
  Year = []
  for atype in e.findall('Filing'):
      Year.append(atype.get('Year'))
  Amount = []
  for atype in e.findall('Filing'):
      Amount.append(atype.get('Amount'))
  Type = []
  for atype in e.findall('Filing'):
      Type.append(atype.get('Type'))
  Period = []
  for atype in e.findall('Filing'):
      Period.append(atype.get('Period'))
  #Registrant 
  RegistrantID = []
  for ty in e.findall('Registrant'):
      RegistrantID.append(ty.get('RegistrantID'))
  RegistrantName = []
  for atype in e.findall('Registrant'):
      RegistrantName.append(atype.get('RegistrantName'))
  GeneralDescription = []
  for atype in e.findall('Registrant'):
      GeneralDescription.append(atype.get('GeneralDescription'))
  ClientName = []
  for atype in e.findall('Client'):
      ClientName.append(atype.get('ClientName'))
  </code></pre>
  
  <p>In this case all of the loops that search for elements within <code>Registrant</code> return blank lists</p>