[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: An idea...
- From: Florian Hars <nospam@thanx>
- Date: 02 Nov 1999 18:19:47 +0100
Jim Hebert <jhebert@jhebert.cx> writes:
> It would seem to me to be better to develop a formal orgchart dtd and
> develop a renderer for it, and plug that into wml (define a tag which
> expands into the necessary perl code to system() or exec() or whatever...)
It should be straightforward to define a container for xml content in
wml with just a few lines of code:
<: use XML::Parser :>
<define-container xml>
<preserve style>
<set-var %attributes>
<:
{
# set up a handler or style depending on
# qq(<get-var style>), see man XML::Parser
my $parser = new XML::Parser(Handlers => ... );
$parser->parse(<<'__WML_XML_BODY_SEPARATOR__');
%body
__WML_XML_BODY_SEPARATOR__
}
:>
<restore style>
</define-container>
Yours, Florian.
--
+ when hideous hordes of web designers will leave ripped bloodless bodies of
hosts they parasited upon and convulsively start tearing limbs of each other
in agony illuminated by artificial light [...], then we know that time has
come for dêë|||zêïñe++++ >>>> Å.Ñ.Ñ.Ï.H.Î.L.Ä.T.Î.Ö.Ñ -- www.absurd.org
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com