W3Schools is Powered by W3. Specifies the nodes to be processed. An asterisk selects the entire node-set. If this attribute is omitted, all child nodes of the current node will be selected. You may also have a look at the following articles to learn more —. Submit Next Question. By signing up, you agree to our Terms of Use and Privacy Policy.
Forgot Password? This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy. XSLT Template. We just launched W3Schools videos. Get certified by completing a course today!
If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:. Report Error. If suppose there is an expression hello, the instruction that iterates over the node-set is given as. The default select value is child: node descendants. This concatenates the occurred sequence values. It is required to name a template. When the apply-templates are invoked, the processor examines the original style sheet template rules to check for the patterns.
And it does the recursion call until it finds the non-empty list of nodes to continue. The select attribute is sometimes made optional in such case it is defined as. The above source code does the apply-templates individually to three nodes and the output is shown as:. The select attribute here identifies the Xpath of the nodes to process the context node.
0コメント