Curtney Jacobs <[EMAIL PROTECTED]> wrote: > I followed the formatter.jsp example. I created a second style sheet that > imports the xs/2xhtml.xslt style sheet. However, whenever I apply a > formatting to a field in the second style sheet, all subsequent formatting > declared in 2xhtml.xslt (first style sheet) is gone. > > For example, if a field had any embeded links in a paragraph then it > disappears. Only the most current formatting is shown. I am aware that > imported stylesheets have lower precedence, but I think it is I that is doing > something wrong. I just don't know what. > > I hope this make sense :-(
Hardly. I think that your problem might be XSL, which is indeed not a very easy language. It is not cascading or so, if you override a template the one in the overridden style sheet is hidden and unused. If you still need its functionality, you need to copy it in the hiding template. I think that e.g. finding links is done in seperate templates, so you should call these also in your extension. But of course, I'm only guessing about what you try, and I'm no XSLT expert either. Do you have a good book about it? Michiel -- Michiel Meeuwissen Mediacentrum 140 H'sum +31 (0)35 6772979 nl_NL eo_XX en_US mihxil' [] ()
