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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Jade's RtfFOTBuilder, James Clark | Thread | Re: Some XSL Questions, Norman Walsh |
Re: Jade's RtfFOTBuilder, James Clark | Date | Re: jade/docbook/norm walsh's style, Christian Leutloff |
Month |