Hi Steve,

I just noticed that I included too many rules. The following - shortened -
rule will also work:

parse parse-string [ 
  some [
         ["<TR><TD>" copy text-1 to "</TD>" thru "<TD>" copy text-2 to
"</TD></TR>"
           (append result reduce [text-1 "=" text-2 newline])
         ] 
         |
         skip
  ]
]


skip will take care of all tags that do not conform to the sequence
<TR><TD>value-1</TD><TD>value-2>/TD></TR>

which includes sequences of the nature
<TR> ..... </TR>

Therefore we don't need a special rule to match these sequences (which was
what the second rule in my previous version was designed to do.)


;- Elan >> [: - )]

Reply via email to