[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: An idea...

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 => ... );
<restore style>

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|||ze++++ >>>> ....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