Re: [exslt] exslt functions problem
by Jeni Tennison other posts by this author
Mar 6 2002 9:45AM messages near this date
RE: [exslt] exslt functions problem
|
[exslt] exslt functions problem
Hi Glenn,
> I also found that using include rather than import cured many hours
> of headaches - have we determined that "import" doesn't work?
I think that it's only libxslt that is displaying this problem - it's
a bug in that particular processor.
> Is there an advantage/purpose to using import rather than include?
When you import a stylesheet, you can override parts of that
stylesheet, such as templates, global variables, or (if you're using
func:function) function definitions. When you include a stylesheet,
you can't override its contents.
Usually I use import when I want to create a specialised stylesheet
based on a more general one, and include when I just want to split up
a stylesheet into more manageable modules.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
_______________________________________________
exslt mailing list
list@[...].org
http://www.exslt.org/list
Thread:
Graham Seaman
Glenn Ingalls
Jeni Tennison
|