xslt - how to fetch current date time with utput file name using saxon9 command prompt -


i have requirement in every time output file name should unique using saxon command file .i thought using -now command getting error .i getting error non numeric year component.please suggest me solution .my command

 java -jar saxon9pe.jar -now:yyyy-mm-ddthh:mm:ss+hh:mm input.xml input.xsl >output.xml 

can add timestamp @ end of output file.this command run window scheduler.

i think either need set now option concrete value 2013-08-26t12:00:00 or can use current-datetime() in stylesheet access current date/time.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -