title: Access Netsuite xml attribute suitescript
body: <p>When veiwing any record in Netsuite you can add the following parmameter "&amp;xml=t" to the URL and see th XML data of the record.  Sometimes there is data in the xml that is not exposed to any field and I am looking for a way to access it with suitescript but so far I have struck out.  Here is an snippet of a vendor credit:</p>
  
  <pre><code>`&lt;line&gt;
  &lt;amount&gt;26.10&lt;/amount&gt;
  &lt;apply&gt;T&lt;/apply&gt;
  &lt;applydate&gt;1/28/2016&lt;/applydate&gt;
  &lt;doc&gt;400620&lt;/doc&gt;
  &lt;due&gt;26.10&lt;/due&gt;
  &lt;duedate&gt;1/28/2016&lt;/duedate&gt;
  &lt;internalid&gt;400620&lt;/internalid&gt;
  &lt;line&gt;0&lt;/line&gt;
  &lt;pymt&gt;401604&lt;/pymt&gt;`
  </code></pre>
  
  <p>How would I pull the <code>&lt;pymt&gt;401604&lt;/pymt&gt;</code> attribute using suitescript as this is the id of a payment record and is not exposed to the UI and I has no internalid.</p>