title: Using importXML in google sheet
body: <p>I'm trying to pull the <code>S&amp;P 500</code> sector weightings from Morningstar <code>(http://portfolios.morningstar.com/fund/index-summary?t=SPX&amp;region=usa&amp;culture=en-US)</code> </p>
  
  <p>into google sheets. </p>
  
  <p>I've tried </p>
  
  <pre><code>=IMPORTXML("http://portfolios.morningstar.com/fund/index-summary?t=SPX&amp;region=usa&amp;culture=en-US","//th") 
  </code></pre>
  
  <p>but this gives me more data than I need and not the percentages for each sector. </p>
  
  <p>What would be the proper code for this? </p>