O'Reilly logo

Special Edition Using XSLT by Michael Floyd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Function Calls

You have already encountered some function calls. Function calls perform some computation and return a result; they can accept arguments, which are inputs to that computation, in some cases.

If there are no arguments, you write the function call with a pair of empty brackets, like so:

						function-name () 

If there is just one argument, you place it inside the brackets:

						function-name ( argument expression ) 

If there are two or more arguments, you write them in a comma-separated list:

						function-name ( argument expression , argument expression , ... ) 

XPath itself provides a broad selection of useful functions, and extra ones can be provided by the application using XPath; for example, XSLT adds the “document” function and a few ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required