{?xml version="1.0" encoding="UTF-8"?}
{!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA 1.3 Bookmap//EN" "technicalContent/dtd/bookmap.dtd"}
{bookmap xml:lang="en-us"}
{booktitle}
{booklibrary}Books about stuff{/booklibrary}
{mainbooktitle}A book about one thing{/mainbooktitle}
{/booktitle}
{bookmeta}
{bookrights}
{copyrfirst}{year}1994{/year}{/copyrfirst}
{copyrlast}{year}2006{/year}{/copyrlast}
{bookowner}OASIS{/bookowner}
{/bookrights}
{/bookmeta}
{frontmatter}
{booklists}
{toc/}
{figurelist/}
{tablelist/}
{/booklists}
{bookabstract href="MyBookAbstract.dita"/}
{preface href="preface.dita"}{/preface}
{/frontmatter}
{chapter href="chapter1.dita"}
{topicref href="subchap1.dita"}{/topicref}
{/chapter}
{chapter href="chapter2.dita"}
{topicref href="subchap2.dita"}{/topicref}
{/chapter}
{appendix href="app1.dita"}
{topicref href="insideApp1.dita"}{/topicref}
{/appendix}
{appendix href="app2.dita"}
{topicref href="insideApp2.dita"}{/topicref}
{/appendix}
{backmatter}
{amendments href="updatesToTheBook.dita"/}
{booklists}
{trademarklist href="listoftrademarks.dita"/}
{indexlist/}
{/booklists}
{/backmatter}
{/bookmap}
This file is map.ditamap.
我得到的错误是
C:\ dita-samples \ bookmap> dita -i map.ditamap -f pdf -o output
错误:无法运行管道:[DOTA069F] [致命]输入文件'文件:/ C:/dita-samples/bookmap/map.ditamap'无法找到或读取。 确保文件已正确指定并且您有权访问它。