in reply to [Home Work]: Using (subset of) HTML as publishing language at PerlMonks: bug or feature?

Unless the semantics of a subset of the HTML tags map nicely into your publishing semantics, I'd go with a specific XML schema that represents your needs precisely. You can then render those to HTML (with possibly additional content for the mis-matched semantics) or analyze the published text more directly.

XML. It's a good thing. It's general, and controllable. HTML is for a specific purpose.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: [Home Work]: Using (subset of) HTML as publishing language at PerlMonks: bug or feature?

Replies are listed 'Best First'.
Re^2: [Home Work]: Using (subset of) HTML as publishing language at PerlMonks: bug or feature?
by tilly (Archbishop) on Jun 27, 2004 at 05:07 UTC
    Would you expect users to type in valid XML?