This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Rescuing XSLT from Niche Status


> > Unless the style of an element depends on which part of the new document
it
> > is in.  Then the intuitiveness goes out the window,
> you mean as in
> match="book/title" ... <h1> ...
> ...
>
> match="chapter/title" ... <h2>...
> ...

No I mean, you might want your "chapter/title" to be an <h2> at the top of
the chapter but you might want it to be <h4> in the table of contents.  In
other words, when you want an element to show up twice in the generated
document each with its own formatting (which is a very common ocurrance in
applications).

Does that make sense?

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]