Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using XPath 2.0

Status
Not open for further replies.

Kingspice

Technical User
Feb 7, 2007
5
GB
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
 
[1] You sure need xslt engine which supports version 2 to start with.
[2] Need to declare the xsl:stylesheet with version="2.0".
[3] Need to delare the namespace for xpath-function and qualify the function with the namespace prefix.
[tt] <xsl:stylesheet version="2.0" xmlns:xsl=" xmlns:fn=[/tt]
... and more but do not know what to choose and/or simply don't know...
 
Hi,
As I am simply using an .xml/.xslt file setup, would it be the xslt engine of internet explorer that would need updating?

Thanks
 
Internet explorer is based on msxml core service and I think is not xslt2-aware yet. Update? but to what, that's the problem! The non-commercial xslt2-aware applications are still quite lacking. You may try saxon8 for your own study to keep current to the tech, you may download saxon8. Also checking sourceforge projects... So on ie, it is not quite ready for that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top