
11 Jul
2013
11 Jul
'13
11:14 a.m.
This will remove the DOCTYPE if any, so you'll have to manually put it back. Also note that by default a transformation expands the attribute defaults (from the DTD/schema). You can disable that in the 'Advanced options' (cogwheel button) of the Saxon 9 transformer when configuring the transformation scenario.
If you're processing a doc with a DOCTYPE, the following thread includes a python script that cloaks entities and restores the DOCTYPE: https://lists.oasis-open.org/archives/docbook/201304/msg00046.html In this case, however, it might just be easier to use sed on the xml file to lowercase the file names to begin with. David