Copy link to clipboard
Copied
I'm looking for a way to automatically add references to subsections at the end of each topic. Is there any way to do this using structured FM?
That is, if I have a topic at level 1 and 3 topics at level 2, I am looking at ways to insert links automatically to the end of the topic with links to the topics at level 2,preferably as an unordered list.
Copy link to clipboard
Copied
This could be done in a couple of ways: 1) Use ExtendScript to develop a script to do this. You could trigger the script on saving the document or run it manually whenever you want. You could develop an FDK client instead of using ExtendScript. 2) Use XSLT to add the links when you save as XML.
Copy link to clipboard
Copied
Thank you for the response. How could I use XSLT to add the links? Is there any sample which could refer to?
Copy link to clipboard
Copied
I don't know of any samples. It would likely be a custom programming job. You would provide a before/after sample of your inputs and outputs and a programmer can write an XSLT transformation to do this. If you are interested, please contact me off list. Thanks.