At 06:02 23/4/01 +1000, Bojan Smojver wrote: >Came across the need to replace tokens within files with the content of >another file, so I've produced a little patch for Ant. > >The reasons for this patch are: > >- although there is multi line replacetoken/replacevalue functionality >in ant, the actual tokens/values have to be specified within the build >file >- same problem with the properties file: properties file contains also >something other than the actual content that needs to replace the token
Just curious but why doesn't the following work for you if placed in your style files. $mymenu.file could be a defined XSLT paramater (can the ant style task pass in parameters??) or hardwired. <tag-enclosing-menu> <xsl:apply-templates select="document($mymenu.file)"/> </tag-enclosing-menu> Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*
