Hello,
I try to fight my way through the xml Structured FM jungle.To this I read various documents (e.g. STRUCTURE APPLICATION DEVELOPER REFERENCE).At the moment my main goal is to find out what works and how to do it best.Therefore I will probably here in the forum to try one or the other question to be answered.
I want to create a message tree in xml and publish via FM PDF.Because I want to filter the messages, I have declared various descriptive numbers of the message as an attribute.
As far as I understand, attributes are the only way in FM to do some filtering of the content which will appear in the document (without a CMS). If I am wrong, please correct me.
XML-Example:
<MESSAGE_TREE>
<MESSAGE Group="FF03" Message_No="1" Status_No="1">
<Message_Text>Message Example 1</Message_Text>
<Status_Text>Message 1</Status_Text>
</MESSAGE>
<MESSAGE Group="FF04" Message_No="1" Status_No="1">
<Message_Text>Message Example 2</Message_Text>
<Status_Text>Message 2</Status_Text>
</MESSAGE>
</MESSAGE_TREE>
In the FM PDF output the attributes values should appear in a table cell. They should not only be used for the filtering.
If I understand correctly, I always have to go for the creation of tables the detour via rw-rules. Again if I am wrong, please correct me.
In the rw-rules I can transform entities in other FM entities. But I can apparently not transfer attributes in FM entities.
Please can anyone give me an idea how I can manage this?
Thanks a lot.
Apollo102