DITA to HTML in Oxygen 9
Posted: Sun Nov 04, 2007 2:46 am
I have been working with the new version of oxygen, and when I try to use the "DITA to HTML" transformation scenario on a ditamap, I get:
[/map {"- map/map "}) [/map/topicref {"- map/topicref "}) [/map/topicref/topicref {"- map/topicref "}) (topicref] (topicref] (map]
I based my test ditamap (see below for the XML I used) on what is provided when you create a new "DITA - Map". I created concept and task files based on the application defaults as well, and put them in a folder named "topics" in the folder where "test-map.xml" is stored. I also tried a version of this experiment in which the topic map file name ended in ".ditamap," with the same results.
What do I need to do to create an HTML document based on these three files?
Thanks,
Rebecca
TEST FILES
-----------
test-map.xml
------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "http://docs.oasis-open.org/dita/v1.1/OS/dtd/map.dtd">
<map title="DITA Topic Map">
<topicref href="topics/conceptTopic.xml" type="concept">
<topicref href="topics/taskTopic.xml" type="task"/>
</topicref>
</map>
topics/conceptTopic.xml
-----------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "http://docs.oasis-open.org/dita/v1.1/OS/dtd/concept.dtd">
<concept id="conceptTopic">
<title>Concept title</title>
<prolog> </prolog>
<conbody>
<p>Concept definition.</p>
</conbody>
</concept>
topics/taskTopic.xml
-----------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "http://docs.oasis-open.org/dita/v1.1/OS/dtd/task.dtd">
<task id="taskTopic">
<title>Task title</title>
<prolog/>
<taskbody>
<context>
<p>Context for the current task</p>
</context>
<steps>
<step>
<cmd>Task step.</cmd>
</step>
</steps>
</taskbody>
</task>
[/map {"- map/map "}) [/map/topicref {"- map/topicref "}) [/map/topicref/topicref {"- map/topicref "}) (topicref] (topicref] (map]
I based my test ditamap (see below for the XML I used) on what is provided when you create a new "DITA - Map". I created concept and task files based on the application defaults as well, and put them in a folder named "topics" in the folder where "test-map.xml" is stored. I also tried a version of this experiment in which the topic map file name ended in ".ditamap," with the same results.
What do I need to do to create an HTML document based on these three files?
Thanks,
Rebecca
TEST FILES
-----------
test-map.xml
------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "http://docs.oasis-open.org/dita/v1.1/OS/dtd/map.dtd">
<map title="DITA Topic Map">
<topicref href="topics/conceptTopic.xml" type="concept">
<topicref href="topics/taskTopic.xml" type="task"/>
</topicref>
</map>
topics/conceptTopic.xml
-----------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "http://docs.oasis-open.org/dita/v1.1/OS/dtd/concept.dtd">
<concept id="conceptTopic">
<title>Concept title</title>
<prolog> </prolog>
<conbody>
<p>Concept definition.</p>
</conbody>
</concept>
topics/taskTopic.xml
-----------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "http://docs.oasis-open.org/dita/v1.1/OS/dtd/task.dtd">
<task id="taskTopic">
<title>Task title</title>
<prolog/>
<taskbody>
<context>
<p>Context for the current task</p>
</context>
<steps>
<step>
<cmd>Task step.</cmd>
</step>
</steps>
</taskbody>
</task>