ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> exslt
exslt
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved