🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #618

Re: Converting Index Entries with Conversion Tables

#618
From: Alex_Masycheff
Date: Wed, 22 Oct 2008 15:36
21 lines
1629 bytes
Scott, Lynne,

Thank you for your help! I created a simple structured application and read/write rules following your advice and it's working now! Thank you so much.

There is another thing I need to do, maybe you have some ideas how to do in the most effective way. XML files that I get on output should also contain:

1. the <title> element must have the ID attribute. Ideally, its value should be set automatically. The value is the file name without extension. For example, if the file name is topic1.xml, then the file should contain: <title id="topic1">

2. <title> is followed by a block of meta information, something like this:

<topicMetaInfo>
<author>John</author>
<subject>Computers</subject>
</topicMetaInfo>

This meta info is identical for all the files.

Is it something that can be programmed with FrameScript after conversion is complete? I could easily code it with C++, but maybe there is a quicker/faster/more efficient way to do it?

Thanks a lot,
Alex
Technical Details
Message-ID: <59b6c887.3@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!news4us.nl!webcrossing
References: <59b6c887.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,cf6765cfe92e5b69
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alex_Masycheff@adobeforums.com
Newsgroups: adobe.framemaker.sgml
Subject: Re: Converting Index Entries with Conversion Tables
Message-ID: <59b6c887.3@webcrossing.la2eafNXanI>
Date: Wed, 22 Oct 2008 08:36:46 -0700
References: <59b6c887.-1@webcrossing.la2eafNXanI>
Lines: 31
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!news4us.nl!webcrossing