Thanks Joel. I actually was looking for Rebol code but it looks like using Tidy with Rebol/Command is a quicker solution ! ( I was planning to write some simple code; I even read your article 'Recursion, Iteration and Algebra' to get some ideas )
>From: Joel Neely <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: [REBOL] Re: Validating HTML >Date: Tue, 26 Feb 2002 06:48:43 -0600 > >Hi, JM, > > http://tidy.sourceforge.net/ > >has been around for quite some time. Unless you have an absolute >need to embed the cleanup code in a larger function, this would >save some wheel-reinventing... > >-jn- > > > JM wrote: > > > Does anybody have some simple code to validate HTML pages, mainly >proper > > tag nesting? > > > > >-- >; sub REBOL {}; sub head ($) {@_[0]} >REBOL [] ># despam: func [e] [replace replace/all e ":" "." "#" "@"] >; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return "\n$e"} >print head reverse despam "moc:xedef#yleen:leoj" ; >-- >To unsubscribe from this list, please send an email to >[EMAIL PROTECTED] with "unsubscribe" in the >subject, without the quotes. > _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.