Re: Best way to post-process HTML in the out directory?


Mica Semrick
 

I do have an ant target, yes.

On 10/14/19 4:52 PM, Nicholas Mucks urbanrobots@... [dita-users] wrote:
Hi Mick,
Do you have an ant target that runs the xslt?
Take care,
- Nick
Sent from mobile
On Oct 14, 2019, at 2:59 PM, Mica Semrick mica@... <mailto:mica@...> [dita-users] <dita-users@... <mailto:dita-users@...>> wrote:

I'm trying to post-process HTML files in the output directory, but the
template does not seem to execute. I've made sure that the XSL file is
run after all the output is already in the output directory.

My code is:

<xsl:template match="/">
<xsl:for-each select="collection('${output.dir}?select=*.html')">
<xsl:value-of select="//title"/>
</xsl:for-each>
</xsl:template>

Any direction or code samples on how to get this to work would be super!

Best,
Mica

Join main@dita-users.groups.io to automatically receive all group messages.