By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,885 Members | 1,267 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,885 IT Pros & Developers. It's quick & easy.

Creating sub xsl files and calling from main xsl file

P: 1
I am attempting to break my templates down from 1 main xsl file into smaller files. Then I want to call them from a main xsl file. I started to look. I have found xsl:include and xsl:import. Also, not sure to use apply-templates or call-templates.

Trying to find good examples on both w/ the main file and source file, but have it a road block. Does anyone have ideas on this or good xsl sites that I can refer too.

Aug 7 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 2,057
In general, if you can use apply-templates instead of call-templates, do it.

Call-template should be used when you have a particular function that you want to run. eg, if you wanted to search/replace on a set of values.
Aug 8 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.