OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

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

Re: Enlightenment via avoiding the T-word





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