Skip to main content
May 31, 2018
Question

Element Catalog Options

  • May 31, 2018
  • 1 reply
  • 764 views

In the Element Catalog Options (View > Element Catalog > Options button), what's the difference between:

  • Valid Elements for Working Start to Finish
  • Valid Elements for Working in Any Order
  • Elements Allowed Anywhere in Parent

Especially, I don't understand the difference between the 2nd and 3rd option.

The FM 2017 online help tells us:

Valid Elements for Working Start to Finish

Displays only elements that are valid at the current insertion point in the hierarchy. The order of the elements in the pod is the same as they are defined in the structured application.

...

Valid Elements for Working in Any Order

Displays only elements that are valid at the current insertion point in the hierarchy.

...

Elements Allowed Anywhere in Parent

Displays all elements that are valid for the current parent.

...

For my understanding, "Displays only elements that are valid at the current insertion point in the hierarchy." is equal to "Displays all elements that are valid for the current parent.".

Am I wrong or right?

And furthermore:

Elements Allowed Anywhere in Parent

Displays all elements that are valid for the current parent.

... You can insert elements that are invalid and correct the errors later.

With this option, FM displays all valid elements. But how is it possible under these conditions to insert invalid elements?

Maybe someone can give my synapses a little push, please.

Thank you.

This topic has been closed for replies.

1 reply

Inspiring
May 31, 2018

Lothar,

   "Valid Elements for Working in Any Order" allows you to leave "holes" (indicated with red squares in the Structure View) to fill in later. For example, suppose your template defines a Chapter to consist of a Title followed by a sequence of Paragraphs. When you insert a new Chapter, "Valid Elements for Working Start to Finish" requires you to insert the Title first. "Valid Elements for Working in Any Order" allows you to write the Paragraphs and then go back and insert the Title once you've seen what you've written and can compose a relevant title.

    "Elements Allowed Anywhere in Parent" allows you to insert elements as you compose your content. You might have multiple elements of a type where only one is permitted; you might create elements out of order. For example, you might have two Titles where one is allowed. As you clean up the initial draft, you can then do some wordsmithing to copy words from one to the other or do other rewriting and then remove the extra element. This option differs from "All Elements" in that it restricts your choices to elements that are allowed as children of the containing element. If you are working on a title page, the only elements it allows therefore are fields on the title page. If you are working on a chapter, components of the title page won't e shown.

   Hope this helps,

          --Lynne

June 17, 2018

Hi Lynne,

many thanks for your answer. But I'm still stuck with the issue.

Here is an example structure of mine:

Now I change the options.

All Elements

... followed by dozen more elements.

Valid Elements for Working Start to Finish

Valid Elements for Working in Any Order

Elements Allowed Anywhere in Parent

As you can see, Valid Elements for Working in Any Order displays the same elements as Elements Allowed Anywhere in Parent.

Option
Element symbols
All Elements
  • Heavy check mark
  • Light check mark
  • Question mark
  • No symbol
Valid Elements for Working Start to Finish
  • Heavy check mark
  • Question mark
Valid Elements for Working in Any Order
  • Heavy check mark
  • Light check mark
  • Question mark
Elements Allowed Anywhere in Parent
  • Heavy check mark
  • Light check mark
  • Question mark

Again my question:

Where is the difference between Valid Elements for Working in Any Order and Elements Allowed Anywhere in Parent?

Btw:

Who needs all the different options? In our company, we always choose All Elements. And we are working strict or loose with the elements, whatever is needed at the moment.

Are the Element Catalog Options an ancient relic from the old FM times, when they may have had a purpose?

Inspiring
June 17, 2018

Lothar,

   To answer your second question first, some users benefit from all the options. It can also be helpful to change the options depending on the type of editing you are doing. For example, I typically leave the setting as Working Start to Finish if I am writing new content. I might change it to Any Order if I am rearranging content using the same tagging scheme. All Elements and Allowed Anywhere in Parent can make it easier to correct content that was pasted from a document that used different elements or that wasn't structured. Of course, there are other techniques (such as XSLT and applying a conversion table) that can get you started when you are incorporating large amounts of existing content.

    Getting back to your original question, your examples of All Elements and Allowed Anywhere in Parent are not the same. Unless you have defined a customized list (which lets you define your own order for listing elements), the listed elements are divided into sections, each alphabetized separately. The elements that are valid at the current location (those with heavy check marks) are listed first, any included elements with light check marks appear next, those with a questions mark next, and those without an annotation symbol appear at the end. All the options include the elements with heavy check marks. Since the option controls which elements appear in the display of the catalog and not which elements are valid, All Elements and Allowed Anywhere list the same elements with heavy checkmarks, light check marks, and question marks. This expected behavior is shown in your examples. You did not show the elements with no symbol--those that are not permitted in the current example. That is where the two displays differ. Allowed Anywhere includes all elements that are permitted anywhere in the current element, in this case, all elements that can ever be included in an entry. All Elements includes all the elements defined in the document, whether or not they can ever occur within an entry. All Elements therefore includes all the elements shown in Allowed Anywhere, but may include others as well. For example, All Elements includes all the elements shown in your Structure View sample: Para, TableContainer, table, tgroup, tbody, row, entry, and BodyText and any others that are defined, regardless of whether they are permitted in an entry such as the current element. BodyText is the only one of the elements that I listed that appears in the portion of the Element Catalog you have shown. The others are merely examples. I suspect that the entire Element Catalog is much larger when you've chosen All Elements than it is when you select Allowed Anywhere.

--Lynne