![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: problems with apply-templates [Thread Next] Re: problems with apply-templatesTo: NULL Date: 3/2/2005 10:27:00 AM Hi, Thanks for the response I will try that. How about when the first <xsl:apply-templates\> is called? It seems that I cannot get this to just apply the following template specifically... any ideas? I tried the following but maybe something is wrong here? you used a similar wording in your original message and I didn't understand what you meant then or now. I suspect that you have the wrong mental model of how xslt is working. When you use apply-templates you _never_ specify which templates are to be applied (and there is no real notion of a "next" template, the order of templates in the stylesheet is not significant). apply-templates uses a select expression which selects nodes in the input tree. If you want to call a block of code explictly then you want to use a named template not a match template and use xsl:call-template rather than apply-templates. However that isn't normally what you would want to do for this kind of transform. David | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
