dvrResourceSuffix
Posted: Tue Jan 08, 2019 5:29 pm
I am trying to better understand ditaval processing and dvrResourceSuffix.
If I would have the following map file, with file name: "datasheet-TMX.ditamap"
I actually expected to get two pdfs out:
datasheet-TMX-53xCXP-S0020.pdf
datasheet-TMX52-40xCLS-S00.pdf
(I am using the "DITA Map PDF - based on HTML 5 & CSS" transformation scenario)
This expectation was set by the following source: https://www.oxygenxml.com/dita/1.3/spec ... uffix.html
Can someone explain why this does not work, or how I could get it working? I could make a transformation scenario for each datasheet, but I wonder if I could process them in series by using the dvrResourceSuffix. Also actually if I make a transformation scenario for each datasheet, where should I set the file name?
If I would have the following map file, with file name: "datasheet-TMX.ditamap"
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>Datasheet</title>
<ditavalref href="ditaval/TMX-53xCXP-S0020.ditaval">
<ditavalmeta>
<dvrResourceSuffix>-53xCXP-S0020</dvrResourceSuffix>
</ditavalmeta>
</ditavalref>
<ditavalref href="ditaval/TMX52-40xCLS-S00.ditaval">
<ditavalmeta>
<dvrResourceSuffix>52-40xCLS-S00</dvrResourceSuffix>
</ditavalmeta>
</ditavalref>
<keydef keys="general_reusables" href="datasheets-reuseables-container.dita"/>
<topicref href="functionality/tmx_cmos_functionality.dita"/>
<topicref href="interface/tmx_cmos_interface.dita"/>
<topicref href="mechanical/tmx_cmos_mounting_accuracy.dita"/>
<topicref href="compliance_reliability/tmx_cmos_compliance_reliability.dita"/>
<topicref href="cameramodels/tmx_cmos_models.dita"/>
</map>
datasheet-TMX-53xCXP-S0020.pdf
datasheet-TMX52-40xCLS-S00.pdf
(I am using the "DITA Map PDF - based on HTML 5 & CSS" transformation scenario)
This expectation was set by the following source: https://www.oxygenxml.com/dita/1.3/spec ... uffix.html
Can someone explain why this does not work, or how I could get it working? I could make a transformation scenario for each datasheet, but I wonder if I could process them in series by using the dvrResourceSuffix. Also actually if I make a transformation scenario for each datasheet, where should I set the file name?