Change declaration when converting FM with MIF2GO
Jeremy H. Griffith
jeremy at omsys.com
Wed May 11 22:12:57 PDT 2011
On Wed, 11 May 2011 09:08:29 +0200, "de Rouck, Tom (Gent)" <Tom.deRouck at sgs.com> wrote:
>I'm trying to set up a first conversion of a structured Framemaker 8 manual (p277) to DITA XML via MIF2GO.
>Everything looks OK, except for the declaration 'override'. I need an override because I upload the resulting XMLs in Docato (EMC product). After upload editing is done with Serna.
>My problem is two-fold:
>
>1) MIF2GO does not seem to pick up any change I make to this declaration (other changes in the .ini do).
We'd have to see a test case to determine why it is not working
for you. That means a short (one page) doc, with the .fm, .mif
(very important), .inis, .prj, and all output files including the
log file, all in one .zip.
>2) If it would work what's the change I need to make to have the following resulting declaration:
>
><concept xmlns:xsa3="http://dita.oasis-open.org/architecture/2005/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="id" xml:lang="en-us" xsi:noNamespaceSchemaLocation="../../catalog/concept.xsd">
You wouldn't use the settings above for that; this is the root
element, not the doctype declaration. You would use:
[DITATopicRootAttrs]
; Frame para format for topic title (wildcards OK) = attributes for
; the root element of the current topic. It can be overridden by a
; DITATopicRootAttr marker.
If your starting Frame format were "conhead", you'd use:
conhead=xmlns:xsa3="http://dita.oasis-open.org/architecture/2005/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../catalog/concept.xsd"
except you'd have to have it all on one line (not possible
in this post). If you want it for all topics, use * instead
of conhead.
HTH!
-- Jeremy H. Griffith, at Omni Systems Inc.
<jeremy at omsys.com> http://www.omsys.com/
More information about the framers
mailing list