Article View: adobe.framemaker.sgml
Article #765Re: UniqueID uniqueness within a book
From: Rick_Quatro
Date: Tue, 12 Aug 2008 21:09
Date: Tue, 12 Aug 2008 21:09
6 lines
1579 bytes
1579 bytes
FrameMaker indeed stores the cross-reference source file for external cross-references. (In FrameScript, you can query the XRefFile property.) So if you have two cross-references that point to different files, but to the same attribute value, FrameMaker doesn't have any problem resolving the cross-references correctly. I don't know how this would work in the XML world, but if the book gets saved to a single XML file, the duplicate values may cause problems. One solution is to use FrameScript (or the FDK) to generate unique IDs for all UniqueID attributes in the book ahead of time. You can have a master "IDs.xml" file stored in the same folder as the script, so that the IDs are always unique, even across books. Whenever the script generates a new unique ID, it would check the master "IDs.xml" file to make sure it is unique. The new IDs are added to the "IDs.xml" file as they are generated so they are never reused. Rick Quatro rick at frameexpert dot com
Technical Details
Message-ID:
<59b625bb.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossingReferences:
<59b625bb.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,d7c998c2ca1affd2 X-Google-Attributes: gidfcc08,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Rick_Quatro@adobeforums.com Newsgroups: adobe.framemaker.sgml Subject: Re: UniqueID uniqueness within a book Message-ID: <59b625bb.0@webcrossing.la2eafNXanI> Date: Tue, 12 Aug 2008 14:09:42 -0700 References: <59b625bb.-1@webcrossing.la2eafNXanI> Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossing