A user writes: I'm pulling content from a 1.0 rss feed using xmlns:dc="http://purl.org/dc/elements/1.1/". Is there a way to change the dc:date format from 2014-08-13T17:00:00-04:00 to something like Aug. 10 4:00 pm in xslt?
It would be a good idea to add a function similar to the fn:replace function that has the ability to read a date from any format and write it in any format. Sort of like: fn:formatdate(datevar, informat, outformat)
A user writes: I'm pulling content from a 1.0 rss feed using xmlns:dc="http://purl.org/dc/elements/1.1/". Is there a way to change the dc:date format from 2014-08-13T17:00:00-04:00 to something like Aug. 10 4:00 pm in xslt?
It would be a good idea to add a function similar to the fn:replace function that has the ability to read a date from any format and write it in any format. Sort of like:
fn:formatdate(datevar, informat, outformat)