Hi there,
I am calling a PHP from my XSL stylesheet e,g:
<xsl:value-of select="php:function('getFileTypes', . )" />
However, the node being passed is always passed as an array with a length of one to the PHP function. Is it not possible to pass DOMElement's/Nodes to a function?
Thanks
Hi,
I want to do a Xpath query e.g.:
<xsl:for-each select="/library/authors/author[contains(lastname,$author)]">
but want it to be a case-insensitive. I know in Xpath 2.0 there is a lower-case function but is there anyway of achieving the same desired effect using Xpath 1.0?
Thanks
Gareth
Hi there,
Whenever I use an Xpath 2.0 function I get an error saying it isn't a supported function.
How do I use Xpath 2.0 functions, do I need to reference some namespace or update something on apache etc?
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.