NSXMLDocument - XSLT version
NSXMLDocument - XSLT version
- Subject: NSXMLDocument - XSLT version
- From: Jonathan Mitchell <email@hidden>
- Date: Sun, 06 Sep 2015 20:53:05 +0100
It seems that NSXMLDocument only supports XSLT v 1.0.
In particular I am interested in the date format support that is part of XSLT 2.
I have found extension code such as this:
http://exslt.org/date/functions/format-date/
But it seems rather old school.
Is there a better approach out there?
Sample NSDocument XSLT console output:
compilation error: element stylesheet
xsl:version: only 1.0 features are supported
xmlXPathCompOpEval: function current-dateTime not found
XPath error : Unregistered function
xmlXPathCompiledEval: evaluation failed
runtime error: element value-of
XPath evaluation returned no result.
Thanks
Jonathan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden