Home Forums DITA and XMetaL Discussion Convert <table> to <simpletable> Reply To: Convert <table> to <simpletable>


Reply to: Convert <table> to <simpletable>

Thanks, guys.

I wrote an XSLT 2.0 file today that recurses over a directory structure (limited to two levels deep) and writes the output in a separate folder. I'll paste the contents of the file at the bottom of this message if anyone is interested. However, be warned that it was developed to fit my own requirements and comes with no warranties whatsoever.

Currently it handles only concept and task topic types becuase those were the only topic types I needed to convert. Feel free to adapt it for use with a macro as you see fit. I ran it from a .bat file that calls Saxon Java from the command line and runs the XSLT against itself (the stylesheet is both the s: and xsl: argument).

Severin Foreman