01: package net.sf.saxon.style;
02:
03: /**
04: * A saxon:call-template element in the stylesheet. This differs from the standard
05: * xsl:call-template in that the template name can be specified as an attribute
06: * value template
07: */
08:
09: public class SaxonCallTemplate extends XSLCallTemplate {
10:
11: /**
12: * Determine whether the called template name can be specified as an AVT
13: */
14:
15: protected boolean allowAVT() {
16: return true;
17: }
18:
19: /**
20: * Determine whether this type of element is allowed to contain an xsl:fallback
21: * instruction
22: */
23:
24: public boolean mayContainFallback() {
25: return true;
26: }
27:
28: }
29:
30: //
31: // The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
32: // you may not use this file except in compliance with the License. You may obtain a copy of the
33: // License at http://www.mozilla.org/MPL/
34: //
35: // Software distributed under the License is distributed on an "AS IS" basis,
36: // WITHOUT WARRANTY OF ANY KIND, either express or implied.
37: // See the License for the specific language governing rights and limitations under the License.
38: //
39: // The Original Code is: all this file.
40: //
41: // The Initial Developer of the Original Code is Michael H. Kay.
42: //
43: // Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
44: //
45: // Contributor(s): none.
46: //
|