Some XSL Questions

Subject: Some XSL Questions
From: Sean Mc Grath <digitome@xxxxxx>
Date: Sun, 28 Dec 1997 16:33:06 GMT
Threee questions on XSL that I would appreciate some help on:-


1) How many tree walks?
At the end of section 5 there is an example of using a named mode to achieve
a table of contents built from TITLE elements followed by the content
proper. Does the invocation of a named mode initiate a new walk of the
document tree? Every TITLE element will need to be traversed twice, right?


2) Inline Style
Section 4.2 says that a document instance may contain XSL rules "at the
beginning". Where
is that? Under the root element? Presumably XSL will then need either
namespace or
XLL style #FIXED attributes to allow documents to use element type names
other than
the defaults.

3) Making Stylesheets valid w.r.t. a fixed XSL dtd:

Section 3.3 illustrates how the use of the invoke element for macros. e.g.

<define-macro name = "foo">
...
<invoke macro="foo">

Rather than:

<define-macro name = "foo">
...
<foo>

It says that doing so can make style-sheets valid XML w.r.t. an XSL DTD. But
the DTD
in appendix C "for exegesis only" uses exclusion:

<!ELEMENT target-element (...) - (target-element)>
Sean Mc Grath
sean at digitome dot com




 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Some XSL Questions
    • Sean Mc Grath - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id LAA11732Sun, 28 Dec 1997 11:42:51 -0500 (EST) <=
      • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id JAA23164Mon, 29 Dec 1997 09:32:24 -0500 (EST)
      • DSSSList Owner - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id OAA25275Mon, 29 Dec 1997 14:45:55 -0500 (EST)
        • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id PAA25558Mon, 29 Dec 1997 15:38:26 -0500 (EST)
          • DSSSList Owner - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id WAA28000Mon, 29 Dec 1997 22:53:05 -0500 (EST)