xslt - How to extract name/URI of the input XML file in Apache FOP -


i want include last modification date in output document. want last modification date of input xml file. purposes use construction below. though, how extract name of input xml file use apache fop in construction instead of manually specified input.xml?

<xsl:value-of select="java:format(java:java.text.simpledateformat.new('yyyy&#x2212;mm&#x2212;dd',java:java.util.locale.new('en')), java:java.util.date.new(java:lastmodified(java:java.io.file.new('input.xml'))))"/>


Comments

Popular posts from this blog

java - Null response to php query in android, even though php works properly -

node.js - Using Node without global install -

php - CakePHP HttpSockets send array of paramms -