title: AS3 XML Inner Text with child nodes
body: <p>I'm working with the strings.xml file that is prepared according to google's translate services, which specifies that portions of your string that you don't want translated should be wrapped in a xliff:g tag like this: <code>&lt;xliff:g&gt;some text&lt;/xliff:g&gt;</code></p>
  
  <p>for example, my strings.xml file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;resources xmlns:xliff="rn:oasis:names:tc:xliff:document:1.2"&gt;
      &lt;string name="game_starts_now"&gt;Game Starts Now&lt;/string&gt;
      &lt;string name="game_starts_in"&gt;Game Starts In &lt;xliff:g id="seconds" example="20"&gt;{0}&lt;/xliff:g&gt; seconds&lt;/string&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>if I trace out the first value by searching for the name "game_starts_now", it traces out as expected, but if i trace out "game_starts_in" it gives the full xml node that it exists in.</p>
  
  <p>example:</p>
  
  <pre><code>trace((xml.string.(@name == "game_starts_now"))); // Game Starts Now
  trace((xml.string.(@name == "game_starts_in"))); // [output is next 4 lines]
  // &lt;string name="game_starts_in" xmlns:xliff="rn:oasis:names:tc:xliff:document:1.2"&gt;
  //  Game Starts In
  //  &lt;xliff:g id="seconds" example="20"&gt;{0}&lt;/xliff:g&gt;
  // &lt;/string&gt;
  </code></pre>
  
  <p>Is there a way to get the full inner text of the <code>&lt;string&gt;</code> without child nodes? I'd like to have the 2nd trace output the following text:</p>
  
  <p><code>Game Starts In {0} seconds</code></p>