An Open Access Peon

11 February 2011

libxml2 and libxslt supported XPath functions

The following functions are supported by the libxml2 library for use in XPath statements and hence supported in libxslt for use in transforms. For more information see xpath.c in the libxml2 source.

Note: string length is 'string-length' and not just 'length'!

last()
position()
count()
id()
local-name()
namespace-uri()
string()
string-length()
concat()
contains()
starts-with()
substring()
substring-before()
substring-after()
normalize-space()
translate()
not()
true()
false()
lang()
number()
sum()
floor()
ceiling()
round()
boolean()

0 Comments:

Post a Comment

<< Home