This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



> (Is that the way Knuth did it?)
yes

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
ignore
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.

David



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]