Hi gregg,

As usual, a nice and obvious answer with Rebol...
A little work again for me to work fine with my problem.
Thanks Gregg.

Philippe.



Selon Gregg Irwin <[EMAIL PROTECTED]>:

> 
> Hi Philippe,
> 
> llff> How parse a html file containing some <tr>...</tr> blocks like :
> ...
> llff> BUT just keep <tr>..</tr> blocks containing specific strings like "KO"
> and 
> llff> reform the html file with them inside original <table>...</table>.
> 
> Something like this?
> 
> rules: [
>     any [
>         copy text thru <tr> (print text)
>         copy text to </tr> (
>             if find text "KO" [print text]
>         )
>     ]
>     copy text to end (print text)
> ]
> 
> Though this naively assumes that your <tr></tr> sections don't have
> anything between them that you want to ignore, so it's not a complete
> solution.
> 
> -- Gregg                         
> 
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
> 
> 


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to