🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #602

Converting Index Entries with Conversion Tables

#602
From: Alex_Masycheff
Date: Sun, 19 Oct 2008 09:17
29 lines
1623 bytes
Hi All,

I'm migrating unstructured FM content to XML using conversion tables.

Two questions:

1. I need to preserve index markers and map them to the following structure:

<index>
<indexPrimaryEntry>marker content goes here... </indexPrimaryEntry>
</index>

I set the conversion table in the following way:

M:Index --> indexPrimaryEntry
E:indexPrimaryEntry --> index

This is what I get:

<index><indexPrimaryEntry type = "Index" text = "marker content goes here..."/></index>

Is there a way to make the index entry to be wrapped into <indexPrimaryEntry> directly rather than to its attributes?

2. After applying the conversion table, I save the structured FM file as XML. FrameMaker adds processing instructions for conditional text and other stuff. Because I don't need round-tripping in this specific case, I would like to disable automatic adding of these processing instructions. Is it possible?

Any help is appreciated.

Thank you in advance,
Alex
Technical Details
Message-ID: <59b6c887.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!feeder.news-service.com!ramfeed1.eweka.nl!eweka.nl!hq-usenetpeers.eweka.nl!news4us.nl!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,cf6765cfe92e5b69,start
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alex_Masycheff@adobeforums.com
Newsgroups: adobe.framemaker.sgml
Subject: Converting Index Entries with Conversion Tables
Message-ID: <59b6c887.-1@webcrossing.la2eafNXanI>
Date: Sun, 19 Oct 2008 02:17:08 -0700
Lines: 37
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!feeder.news-service.com!ramfeed1.eweka.nl!eweka.nl!hq-usenetpeers.eweka.nl!news4us.nl!webcrossing