How can I process documents in a directory structure, and capture the directory where the files are being processed from? I need to pass it to a style sheet. Here is my code:
<target name="publishItems" depends="init, prepare">
<style basedir="${root}"
destdir="${buildroot}/itemXML"
style="../bin/xslt/sgml.xsl"
includes="**/*.ent"
extension=".xml"
processor="xalan">
<!-- param name="workDir" expression=""/ -->
</style>
</target>
The includes will match **/*.ent, but how can I find out what ** is so that I can pass that value to sgml.xsl?
Thanks,
--Lorenzo