July 2001
Intermediate to advanced
592 pages
11h 16m
English
XPath Function
boolean(), ceiling(), concat(), contains last(), local (), count(), false(), floor(), id(), lang(),-name(), name(), namespace-uri(), normalize-space(), not(), number(), position(), round(), starts-with(), string(), string-length(), substring(), substring-after(), substring-before(), sum(), translate(), true()
In Chapter 4 the principles underlying XPath were introduced, but the full value of XPath is limited without functions. Functions provide a “programming” aspect to XPath. Where XPath location paths and patterns are navigational tools, functions are like little programs, they do something. For example, the document() function “goes and gets” another XML instance, similar to an import macro in a word ...