How to parse string to date in xslt 2.0 -


is possible convert strings 30042013 (30 april 2013) date format?

so can use later in functions format-date

fn:datetime($arg1 xs:date?, $arg2 xs:time?) convert arguments xs:datetime.

just use fn:substring() , fn:concat() cut out relevant parts , join them yyyy-mm-dd before passing fn:datetime.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -