• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Element Attributes when converting to structured (FM2019)

Enthusiast ,
Oct 05, 2021 Oct 05, 2021

Copy link to clipboard

Copied

In our unstructured documents, we have a table (nt Notes Table) we use to insert various notes. We use a paragraph style (ns Notes) to format the note text. We also use diffent paragraph styles to insert an appropriate image, depending on the type of note, e.g.:

  • nti  Notes Table - Important Notes Icon
  • ntg Notes Table - General Notes Icon
  • ntr Notes Table - Reference Notes Icon, etc.

In our EDD, we have a NoteType attribute against our Notes Table Element that identifies the type of note, e.g. Important, General, Reference, etc.

In our Conversion Table, we have the following:

2021-10-06_10h49_07.png

The conversion correctly converts all the elements. Our problem is that the NoteType attribute isn't assigned correctly. It is always assigning the "General" attribute value, which is the last one in the list.

I know it's probably one of those "can't see for looking" mistakes I've made in the conversion table.

Asking the EDD gurus 🙂

Views

356

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
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 06, 2021 Oct 06, 2021

You may need to pre-process the document so that you assign a different table format to each type of note table. It probably makes more sense to post-process the document to assign the correct attribute to each structured table. In my experience, a conversion table can get you to about 80% of where you want to go and the rest needs to be accomplished after the conversion. Some post-cleanup can be done with scripting, while others may need a human decision maker.

Votes

Translate

Translate
Community Expert ,
Oct 05, 2021 Oct 05, 2021

Copy link to clipboard

Copied

All of the T:nt Notes Table entries in the left-column are the same, so the last one wins. You need a way to distinguish the tables in the first column of the table.

Votes

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
community guidelines
Enthusiast ,
Oct 05, 2021 Oct 05, 2021

Copy link to clipboard

Copied

We use the same table format regardless of the note type. I am open to suggestions on how to achieve what you're suggesting.

Votes

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
community guidelines
Community Expert ,
Oct 06, 2021 Oct 06, 2021

Copy link to clipboard

Copied

You may need to pre-process the document so that you assign a different table format to each type of note table. It probably makes more sense to post-process the document to assign the correct attribute to each structured table. In my experience, a conversion table can get you to about 80% of where you want to go and the rest needs to be accomplished after the conversion. Some post-cleanup can be done with scripting, while others may need a human decision maker.

Votes

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
community guidelines
Enthusiast ,
Oct 06, 2021 Oct 06, 2021

Copy link to clipboard

Copied

I did consider changing the attribute to be used against the note icon element (which is what really identifies what type of note it is) rather than the table, but felt it was hampering the process because the writers would first add a Note element (which inserts the right table format), then they have to insert the Note icon (and select the type of note). Whereas having the attribute on the table element, meant that writers would insert the Note element (which inserts the right table format and populates the first cell in the table with the correct Note Icon element). I may need to revisit this again.

Votes

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
community guidelines
Community Expert ,
Oct 06, 2021 Oct 06, 2021

Copy link to clipboard

Copied

You can do some amazing cleanup on your newly structured document using FrameSLT from West Street Consulting. I don't have any financial interest in recommending the plugin, I am just a long-time satisfied customer.

Votes

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
community guidelines
Community Expert ,
Oct 06, 2021 Oct 06, 2021

Copy link to clipboard

Copied

I think an important goal is to make things easier for the users, even if it means more effort in the conversion. You don't want to make things more difficult for authors and editors just to simplify the conversion.

Votes

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
community guidelines
Enthusiast ,
Oct 06, 2021 Oct 06, 2021

Copy link to clipboard

Copied

I agree. I'd rather deal with the clean-up post-conversion. I was just wondering/hoping there was an easier way 🙂

Votes

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
community guidelines
Community Expert ,
Oct 07, 2021 Oct 07, 2021

Copy link to clipboard

Copied

If you have a lot of these, I can help you with a post-processing script solution. Please contact me offlist. Thank you.

rick at frameexpert dot com

Votes

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
community guidelines
Enthusiast ,
Oct 07, 2021 Oct 07, 2021

Copy link to clipboard

Copied

LATEST

Thanks for the offer. I'll keep that in mind.

Votes

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
community guidelines