• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSXMLDocument - XSLT version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Getting started with Cocoa Bindings in My Project?
  • Next by Date: Re: Swift generics, circular type declarations, and segfaults, oh my!
  • Previous by thread: Re: Getting started with Cocoa Bindings in My Project?
  • Next by thread: Getting a Popover's frame
  • Index(es):
    • Date
    • Thread