[oXygen-user] Find and replace with lowercase

David Cramer david at thingbag.net
Thu Jul 11 06:14:39 CDT 2013


> 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



More information about the oXygen-user mailing list