Re: How is this part of the XSLT specification to be interpreted?

Subject: Re: How is this part of the XSLT specification to be interpreted?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 22 Jun 2000 09:19:50 +0100 (BST)
> (Is that the way Knuth did it?)

oh what a tangled web we weave.

you write in web
run tangle on the web and get pascal, run that
run weave on the web and get tex documentation.

Most programmers are impatient souls, and don't want tangle so the
simplified version is

write in xxx with structed documentation that the xxx processor will
so you can directly use the documented source as the program.
use xxx-weave which extracts the documentation and interlaces it with
pretty printed code.

Some literate program enthusiasts regret the loss of the tangle side of
things (which allows the source file to be structured in a different
order to whatever syntactic constraints of the underlying programming
language, but for most modern programming languages (and expecially for
xslt) this isn't so much of a loss, the program can already be ordered
more or less at will at the level of top level templates.
pascal had rather stricter ideas, variables all declared at the top etc,
with web the declarations can be (if you want) at the point you first
want to discuss the variable and weave will sort out whatever pascal
is required.


 XSL-List info and archive:

Current Thread