Highlighted

Automatically adding references to subsections at the end of each topic

New Here ,
Jun 04, 2020

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.

TOPICS
Publishing, Technical Communication Suite

Views

394

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Automatically adding references to subsections at the end of each topic

New Here ,
Jun 04, 2020

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.

TOPICS
Publishing, Technical Communication Suite

Views

395

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 04, 2020 0
Adobe Community Professional ,
Jun 04, 2020

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 04, 2020 0
New Here ,
Jun 04, 2020

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 04, 2020 0
Adobe Community Professional ,
Jun 04, 2020

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 04, 2020 0