Rick Thank you for the response.
We are translating the XML TOC (c3TOC.xml) to HTML using XSLT. We are translating the "source" (c3.xml) file to HTML using the same XSLT. The "source" (c3.fm) file doesn't have any Id attributes valued so there is no anchor to go to in the "source" (c3.fm). I wonder if FrameMaker should put out the "unique id" to the XML for the "source"(c3.fm) file? Or do you think we need to manually add Id attributes in the "source" (c3.fm)? Thank you for the help. Dave www.reqexperts.com -----Original Message----- From: Rick Quatro [mailto:r...@rickquatro.com] Sent: Wednesday, October 12, 2016 9:10 AM To: 'David Hottman' <d...@reqexperts.com>; framers@lists.frameusers.com Subject: RE: [Framers] Generated Structured TOC Hypertext Link Text Hi Dave, Here is what the marker text means: openObjectId c3.fm:5 1031089 openObjectId gives instructions to FrameMaker to open the target file, which is (in this example) c3.fm. 5 means the target is an element. This number will vary depending on what kind of FrameMaker object (paragraph, element, marker, etc.) that you are targeting. 1031089 is the unique id of the element that you are targeting. How are you translating your XML into HTML? The method you are using will determine how to get your TOC links working in the HTML. Rick Rick Quatro Carmen Publishing Inc. 585-366-4017 r...@frameexpert.com -----Original Message----- From: Framers [mailto:framers-bounces+rick=rickquatro....@lists.frameusers.com] On Behalf Of David Hottman Sent: Wednesday, October 12, 2016 10:41 AM To: framers@lists.frameusers.com Subject: [Framers] Generated Structured TOC Hypertext Link Text We gratefully appreciate any insight that anyone can provide into the following: We are trying to understand the text of the hypertext markers in a generated TOC for a structured document (FM11/Windows 7). 1) We have a structured document (c3.fm) 2) We use Special | Table of Contents selecting the appropriate structure elements (not paragraphs) to c3toc.fm. 3) c3TOC.fm generates without error 4) We run c3TOC.fm file through a structure conversion table and then manually add the structure. 5) The hypertext marker content for each TOC entry is of the format: "openObjectId c3.fm:5 1031089" (example) 6) We then save the TOC to XML using our structapp definition (R/W rules and Structure API Client). 7) The hypertext elements appear in the XML with the attributes: type="Hypertext" and "text=openObjectId c3.fm:5 1031089"(example) The TOC flow/ActiveTOC tagged paragraph on the reference pages has the content: "openObjectId <$relfilename>:<$ObjectType><$ObjectId>". Our eventual destination with the XML is to translate to HTML translating the TOC entries into <a> tags that work. We can't figure out what the objectId is and how we translate it to some kind of definition in the destination file. Do we need some kind of UniqueID on the destinations? Is there a structure equivalent to "openObjectId <$relfilename>:<$ObjectType><$ObjectId>". Are we missing something? Thank you for your time. Dave _______________________________________________ This message is from the Framers mailing list Send messages to framers@lists.frameusers.com Visit the list's homepage at http://www.frameusers.com Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/ Subscribe and unsubscribe at http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com Send administrative questions to listad...@frameusers.com _______________________________________________ This message is from the Framers mailing list Send messages to framers@lists.frameusers.com Visit the list's homepage at http://www.frameusers.com Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/ Subscribe and unsubscribe at http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com Send administrative questions to listad...@frameusers.com