[Home] [By Thread] [By Date] [Recent Entries]

  • From: Francis Norton <francis@r...>
  • To: "Christopher R. Maden" <crism@m...>
  • 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.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member