S1000D发布模块删除PDF格式的图形



下面是S1000D XML发布模块(PM)的代码,该模块用于将数据模块、样式表、模式和实体绑定到一个发布中,以便从Arbortext输出PDF。下面的PM代码对包含2个图形的单个数据模块只有一个dmref。我遇到的问题令人困惑。当我使用下面的PM代码从Arbortext发布PDF时,它会生成一个缺少2个图形的PDF。然而,如果我PDF直接从Arbortext发布数据模块XML代码,而不涉及下面的PM代码,则PDF打印将正确显示2个图形。这个告诉我的是,下面的PM代码有一些错误,阻止了2个图形被包括在PDF输出中。

如果任何了解S1000D/XML发布模块的人能够就下面的PM代码的问题提供一些建议,我将不胜感激。我需要做些什么才能使用发布模块XML代码在发布的PDF中正确显示2个缺失的图形?如有任何信息,我们将不胜感激。提前谢谢。

<?xml version="1.0" encoding="UTF-8"?>
<!--Arbortext, Inc., 1988-2011, v.4002-->
<!DOCTYPE dmodule [
<!ENTITY ICN-LOLA55-DE-A010307-L-04939-00386-A-01-1 SYSTEM "C:TestICN-LOLA55-DE-A010307-L-04939-00386-A-01-1.JPG" NDATA JPEG>
<!ENTITY ICN-LOLA55-DE-A010307-L-04939-00385-A-01-1 SYSTEM "C:TestICN-LOLA55-DE-A010307-L-04939-00385-A-01-1.PNG" NDATA PNG>
<!ENTITY % ISOEntities PUBLIC "ISO 8879-1986//ENTITIES ISO Character Entities 20030531//EN//XML" "http://www.s1000d.org/S1000D_4-0-1/ent/ISOEntities">
%ISOEntities;
<!NOTATION JPEG SYSTEM "JPEG">
<!NOTATION PNG SYSTEM "PNG">
]>
<?Pub Inc?>
<?xml-stylesheet href="file:///C:/test/FO-3031-A00-USARMY-MAIN_001-00_EN-US.xsl" type="text/xsl" media="print,pdf" alternate="yes"?>
<pm xmlns:dc="http://www.purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="c:ptcdtdsS1000D_4-0-1xml_schema_masterpmSchema.xsd">
<identAndStatusSection>
<pmAddress>
<pmIdent>
<pmCode modelIdentCode="LOLA55" pmIssuer="12340" pmNumber="OPI01" pmVolume="00"/>
<language countryIsoCode="US" languageIsoCode="en"/>
<issueInfo inWork="01" issueNumber="000"/>
</pmIdent>
<pmAddressItems>
<issueDate day="09" month="06" year="2009"/>
<pmTitle>OPERATOR'S MANUAL</pmTitle>
<shortPmTitle>EQUIPMENT NAME MODEL X (NSN 0000-00-000-0000) (EIC XXX)</shortPmTitle>
</pmAddressItems>
</pmAddress>
<pmStatus issueType="new">
<security securityClassification="01"/>
<dataRestrictions>
<restrictionInstructions>
<dataDistribution>DISTRIBUTION STATEMENT A: Approved for public release; distribution
is unlimited.</dataDistribution>
<exportControl>
<exportRegistrationStmt>
<simplePara>WARNING: Export control statement here.</simplePara>
</exportRegistrationStmt>
</exportControl>
<dataDestruction>DESTRUCTION NOTICE: Destroy by any means possible to prevent
disclosure of contents or reconstruction of the document.</dataDestruction>
</restrictionInstructions>
<restrictionInfo>
<policyStatement>Classification source and reason for classification of this
publication per DODI 5200.001-R.</policyStatement>
</restrictionInfo>
</dataRestrictions>
<responsiblePartnerCompany>
<enterpriseName>HEADQUARTERS, DEPARTMENT OF THE ARMY</enterpriseName>
</responsiblePartnerCompany>
<originator enterpriseCode="07GB6">
<enterpriseName>BTAS COE</enterpriseName>
</originator>
<applic>
<displayText/>
</applic>
<pubMedia pubMediaCode="PDF" pubMediaType="PDF - Optimized for Standard page size"/>
<qualityAssurance>
<firstVerification verificationType="tabtop"/>
<secondVerification verificationType="onobject"/>
</qualityAssurance>
<remarks>
<simplePara>GENERAL NOTICE: General purpose notices may appear here.</simplePara>
</remarks>
</pmStatus>
</identAndStatusSection>
<content>
<pmEntry pmEntryType="pmt51">
<dmRef>
<dmRefIdent>
<dmCode assyCode="07" disassyCode="01" disassyCodeVariant="00" infoCode="042" infoCodeVariant="A" itemLocationCode="O" modelIdentCode="LOLA55" subSubSystemCode="3" subSystemCode="0" systemCode="A01" systemDiffCode="DE" />
</dmRefIdent>
<dmRefAddressItems>
<dmTitle>
<techName>F-WHFD</techName>
<infoName>F-WHFD Description</infoName>
</dmTitle>
</dmRefAddressItems>
</dmRef>
</pmEntry>
</content>
</pm>

首先:尝试链接到平面Schema,而不是master,因为不会提供master进行创作。在这种情况下,模式被称为"pm.xsd">

第二:没有理由定义图形实体,因为它们没有在pm本身中使用。数据模块中的实体是如何定义的?绝对路径还是相对路径?是否有"中间"FO文档可用?如果是,则检查其中实体的定义。

相关内容

  • 没有找到相关文章