If I were parsing an XML file in PHP, I would be able to find a certain node and then print its parent, or each child, or each child of a specific type. Can I do anything like that in Matrix using, say, a paint layout?
If I have a thesaurus metadata item for, e.g., a contact that would be applied to an article, I can include the name using %asset_metadata_contact%, but can I arrange for each contact to have a telephone number, email address etc that is automatically placed in the document? Can I use them in a conditional keyword (e.g. IF the 'animal' 'eats' 'bananas' THEN … )?
Thesaurus structure cannot be navigated or inspected beyond selection of a particular term in the asset map when using the metadata field.
The only uses for relations are
- Navigation aid, so that the users know which branch to follow when browsing the thesaurus structure
- Thesaurus has a built-in support for 'abbreviations' and 'synonyms' relations - they're used by WYSIWYG and Search Manager.
What you're after is quite complicated and requires significant development to both thesaurus and metadata.
As to your particular example, I have no solution. You might want to see what keywords are available to you for use on the metadata screen.