Conditional processing of topic in map with specialised props attribute
Posted: Mon Jan 28, 2013 12:51 pm
Hi
I've been able to apply specialised conditional processing to elements (e.g. <p> elements) within a topic.
When I apply the conditional processing attribute to a topicref (to knock out the whole topic), I get an error.
Here's my map
I want to amend
to
but when I do, I get the message "E [Xerces] Attribute "route" must be declared for element type "topicref". "
From the error, it looks like I've forgotton to include the subject scheme map that contains the controlled values, but in fact the "plant.ditamap" is a topic map that contains the subject scheme map that contains these.
I've remembered to open the top map in the Maps Manager as well.
Oxygen seems happy to accept the specialised conditional values in the topics, but not on the topicref elements.
I've tried using an intermediary mini map between this map and the topic, and applying the profiling attribute to that, but it still isn't accepted.
Maybe the Open Toolkit doesn't yet support this?
Thanks
John
I've been able to apply specialised conditional processing to elements (e.g. <p> elements) within a topic.
When I apply the conditional processing attribute to a topicref (to knock out the whole topic), I get an error.
Here's my map
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map chunk="by-document to-content">
<title>Manual built out of Means of Compliance modules</title>
<topicref href="plant.ditamap" format="ditamap">
<topicref href="MoC2dita.dita"/>
<topicref href="MoC3dita.dita"/>
</map>
Code: Select all
<topicref href="MoC2dita.dita"/>
Code: Select all
<topicref href="MoC2dita.dita" route="sussex"/>
From the error, it looks like I've forgotton to include the subject scheme map that contains the controlled values, but in fact the "plant.ditamap" is a topic map that contains the subject scheme map that contains these.
I've remembered to open the top map in the Maps Manager as well.
Oxygen seems happy to accept the specialised conditional values in the topics, but not on the topicref elements.
I've tried using an intermediary mini map between this map and the topic, and applying the profiling attribute to that, but it still isn't accepted.
Maybe the Open Toolkit doesn't yet support this?
Thanks
John