Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: What's with /MARKUP?

From: al:bri:xtra at: 28-Jan-2001 23:22

Donald wrote:
> Since /MARKUP creates a block with the HTML still in it, what is its
advantage or how is it useful? Why would we want the HTML? So that your code can block parse the HTML and text between the tags, so allowing you to rewrite the HTML code or alter it in any way, like checking for XML/HTML validity, stripping tags and so on. As an example, a web stripper, knowing where the <p> tags are, would allow it to generate a double newline in the output stream to signal a paragraph. Detect a image tag would allow stripping out the ALT text inside and substituting that for the picture. Andrew Martin ICQ: 26227169