<HTMLScraperConfig>

   <StateTransitions processedResultType="Record" begState="_NONE_">

     <HTMLEvent eventType="Comment" fromState="_NONE_" toState="foundStart" contains="BEGIN Company NEWS" />

     <HTMLEvent eventType="SimpleTag" tagType="span" fromState="foundStart" toState="foundRecord" > 
       <InputAttribute attrName="class" attrVal="date" />
     </HTMLEvent>
     <HTMLEvent eventType="HandleText" fromState="foundRecord" toState="foundRecord" outputTo="NewsDateData" append="true" />

     <HTMLEvent eventType="StartTag" tagType="a" fromState="foundRecord" toState="inRecord" >
       <OutputAttribute attrName="href" outputTo="linkHref" />
     </HTMLEvent>
     <HTMLEvent eventType="HandleText" fromState="inRecord" toState="inRecord" outputTo="LinkTextData" append="true" />
     <HTMLEvent eventType="EndTag" tagType="a" fromState="inRecord" toState="recordDone"  />

     <HTMLEvent eventType="SimpleTag" tagType="span" fromState="recordDone" toState="inSource" > 
       <InputAttribute attrName="class" attrVal="src" />
     </HTMLEvent>
     <HTMLEvent eventType="HandleText" fromState="inSource" toState="inSource" outputTo="SourceData" append="true" />

     <HTMLEvent eventType="EndTag" tagType="td" fromState="inSource" toState="foundStart" processResult="true" />

     <HTMLEvent eventType="Comment" fromState="foundStart" toState="_NONE_" contains="END Company NEWS" />

   </StateTransitions>

   <OutputFormat>
      <RootTag tagName="Records" />
      <ProcessedResult processedResultType="Record" tagName="Record" >
        <ProcessedElement tagName="Title" charDataFrom="LinkTextData" />
        <ProcessedElement tagName="Link" charDataFrom="linkHref" />
        <ProcessedElement tagName="Date" charDataFrom="NewsDateData" />
        <ProcessedElement tagName="Source" charDataFrom="SourceData" />
      </ProcessedResult>
   </OutputFormat>

</HTMLScraperConfig>