Skip to Content
Special Edition Using XSLT
book

Special Edition Using XSLT

by Michael Floyd
January 2002
Intermediate to advanced
480 pages
11h 5m
English
Que
Content preview from Special Edition Using XSLT

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Special Edition Using XML, Second Edition

Special Edition Using XML, Second Edition

- et al. David Gulbransen
XML for Publishers

XML for Publishers

Keith Fahlgren

Publisher Resources

ISBN: 0789725053Purchase book