I have a DITA based structure application in FM. Currently dealing with xml topic based files. In my topic
.template.fm I have successfully added page style (landscape/etc.) based on XML attribute (you know the trick with the reference page rule to point to a landscape master page and it works). Now I want to do something similar but with other xml elements. Let's say I want a paragraph to have 2 different font style based on an xml attribute = font-1/font-2. How do I set these styles from the template file so when I load the xml the styles are applied in the editor view?
(I really want to stay and be DITA compatible, so don't want to update edd.dtd files. Why can't this be done from the template?)