[Zope] HTML to STX

Oliver Bleutgen myzope@gmx.net
Mon, 08 Apr 2002 20:27:01 +0200


vsbabu@vsbabu.org wrote:
> Hi,
> 
> We've some documents in valid XHTML, using only H?, A, B, I, UL, OL, LI, CODE, PRE and P tags. Programmers like STX better than HTML, so I'm looking for any scripts out there that can convert this into STX fairly easily.
> 
> Just trying to avoid writing one using SGMLLIB :-)
> 
> -vsb

dumb question, but if it's valid xhtml, wouldn't a search and replace 
with a set of 10 or so simple regular expressions do the trick?


cheers,
oliver