[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enlightenment via avoiding the T-word
- From: Francis Norton <francis@redrice.com>
- To: "Christopher R. Maden" <crism@maden.org>
- Date: Fri, 31 Aug 2001 10:00:20 +0100
"Christopher R. Maden" wrote:
>
> XSLT does have a kind of scoping through modes (as the DSSSL Style Language
> does). True, the templates aren't *lexically* scoped with modes, but most
> reasonable developers put all the templates in a single mode next to each
> other. (Although some will put all of the templates for a node type next
> to each other, which is also reasonable.) In some ways, scoping via modes
> is a bit more flexible for program readability than lexical scoping.
>
Thanks - I hadn't thought of XSLT modes in quite that way before, even
though I use them in exactly that way (XSLT mode == schema content
model) in the disambiguation annotators that I'm generating from
schemas.
Francis.