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−mm−dd',java:java.util.locale.new('en')), java:java.util.date.new(java:lastmodified(java:java.io.file.new('input.xml'))))"/>
Comments
Post a Comment