<!--
  Author: Sumit Sachdev 
  Description: Creates a microsummary for any currency-conversion page from yahoo
  Last updated: 2006-Dec-21
  
  Change History:
  2006-12-21 : Added ([a-z][a-z]\.)? to include pages (handles country-specific Yahoo! websites)
  2006-12-17 : Initial Version
--><generator name='Yahoo! Currency Converter' xmlns='http://www.mozilla.org/microsummaries/0.1'>
  <template>
    <transform version='1.0' xmlns='http://www.w3.org/1999/XSL/Transform'>
      <output method='text'/>
      <template match='/'>
        <variable name='conv-text' select='(//td[@class=&apos;yfnc_tabledata1&apos;])[1]'/>

        <value-of select='(//td[@class=&apos;yfnc_tabledata1&apos;])[2]'/>
        <text> </text>

        <value-of select='substring($conv-text, 1, 3)'/>
        <text> = </text>
        <value-of select='(//td[@class=&apos;yfnc_tabledata1&apos;])[5]'/>
        <text> </text>
        <value-of select='substring($conv-text, 4, 3)'/>
      </template>
    </transform>

  </template>
  <pages>
    <include>^http://([a-z][a-z]\.)?finance\.yahoo\.com/currency/convert\?amt=[0-9]+.?[0-9]*&amp;from=[a-zA-Z]{3}&amp;to=[a-zA-Z]{3}&amp;submit=Convert</include>
<!-- Sample URL: http://finance.yahoo.com/currency/convert?amt=1&from=USD&to=INR&submit=Convert -->
<!-- Sample URL: http://in.finance.yahoo.com/currency/convert?amt=1&from=USD&to=INR&submit=Convert -->
  </pages>
</generator>