Article View: adobe.framemaker.sgml
Article #1666Problem with graphics during Frame -> XML
From: Sonic_Beatnik
Date: Fri, 30 Jul 2004 21:21
Date: Fri, 30 Jul 2004 21:21
31 lines
1923 bytes
1923 bytes
When saving a structured Frame document to XML, I am having trouble with the graphic references. My read/write rules have this:
element "graphic"
{
is fm graphic element;
attribute "fileref" is fm property file;
...
attribute "entityref"
{
is fm property entity;
is fm attribute;
}
}
When I save the document, I get errors that say
"Attribute 'entityref' refers to an unknown entity 'graphic1' "
The graphic should be saved as "<pathtofile>/wc_gr000052.eps"
Yet it wants to save it as 'graphic1'
I have read through page 306 of the Stuctured Dev Guide (v7.0) and it says it saves as graphic1 when the "graphic filename matches no entity declarations, or the graphic inset has no entity name associated with it..."
The file is definately mentioned in the DTD:
!ENTITY wc_gr000052.eps SYSTEM "file:///C:/Work2/Manuals/Wacker/MIF/english/Graphics/wc_gr000052.eps" NDATA EPS
The graphic is exported as:
graphic entityref = "graphic1" impsize = "4.884in 3.672in" impby = "ref" sideways = "0" impang = "0.000" xoffset = "0.913in" yoffset = "0.039in" position = "below" cropped = "0" float = "0" angle = "0.000" nsoffset = "0.000in" width = "6.711in" depth = "3.750in" align = "center"/
the only thing I can think of is that there is no "fileref" attribute.
Anyone else know what could be causeing this problem?
-Thanx
Scott
Technical Details
Message-ID:
<3bb5469b.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Thread: fcc08,c949e7d2c7d11162,start X-Google-Attributes: gidfcc08,public X-Google-Language: ENGLISH,ASCII-7-bit From: Sonic_Beatnik@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.framemaker.sgml Subject: Problem with graphics during Frame -> XML Message-ID: <3bb5469b.-1@webx.la2eafNXanI> Date: Fri, 30 Jul 2004 14:21:58 -0700 Lines: 39 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit