Question
Request for suggestion - Images
I'm curious to see if anyone has ideas on how best to handle the following
scenario from an authoring UI perspective.
We currently have several documents that we author in XML then render to
PDF (using an external engine). These documents contain images at set
locations, and are embedded in the XML as native SVG, which are processed
by XSL:FO. Due to the nature of SVG, the images themselves are somewhat
large, and so we've been inserting them into the "final" XML after all copy
is complete. This works out fairly well for new documents, but gets a bit
cumbersome when managing subsequent editions (eg: remove and reinsert, or
leave in, but instruct the authors to ignore the SVG markup)
One approach we have used in the past is to put in reference tags that our
build process can interpret and replace. This would be something like:
<svg db_id="12345">Caring for your cast</svg>
The assembly process would then take this tag and replace it with the
actual SVG markup stored in our CMS.
This would work fine, but it's not very visual for the author to use as a
reference. It would be better if we could have some kind of inline
thumbnail, but I'm not sure if that's possible without embedding some kind
of clunky ActiveX control.
Has anyone worked with images in this way, and if so, have any suggestions
on implementation?
Thanks,
Keith Berard
Milliman Care Guidelines
scenario from an authoring UI perspective.
We currently have several documents that we author in XML then render to
PDF (using an external engine). These documents contain images at set
locations, and are embedded in the XML as native SVG, which are processed
by XSL:FO. Due to the nature of SVG, the images themselves are somewhat
large, and so we've been inserting them into the "final" XML after all copy
is complete. This works out fairly well for new documents, but gets a bit
cumbersome when managing subsequent editions (eg: remove and reinsert, or
leave in, but instruct the authors to ignore the SVG markup)
One approach we have used in the past is to put in reference tags that our
build process can interpret and replace. This would be something like:
<svg db_id="12345">Caring for your cast</svg>
The assembly process would then take this tag and replace it with the
actual SVG markup stored in our CMS.
This would work fine, but it's not very visual for the author to use as a
reference. It would be better if we could have some kind of inline
thumbnail, but I'm not sure if that's possible without embedding some kind
of clunky ActiveX control.
Has anyone worked with images in this way, and if so, have any suggestions
on implementation?
Thanks,
Keith Berard
Milliman Care Guidelines

