Thanks to everyone who responded. I'm going to go with Rob's solution because I understand how to apply it and I think the answer is no, I can't directly use the value of the colour attribute to choose which colour to apply.
Wim, I hadn't heard of the outputclass attribute before, so I looked it up and it looks like a DITA thing. I should have mentioned that this is a home-grown EDD and that I'm using FrameMaker 10, so I don't think that attribute is available to me. If anyone is reading this for the first time, here are the answers I got: ------------------------------ Message: 1 Date: Fri, 23 Feb 2018 09:41:25 +1030 From: Rob Wallis <robnurflu...@gmail.com<mailto:robnurflu...@gmail.com>> To: framers@lists.frameusers.com<mailto:framers@lists.frameusers.com> Subject: Re: [Framers] Setting up coloured text in Structure Message-ID: <cakwl4siuamn1s5az5tkbgzf-db24ybk5g+r1tvbycn2prxn...@mail.gmail.com<mailto:cakwl4siuamn1s5az5tkbgzf-db24ybk5g+r1tvbycn2prxn...@mail.gmail.com>> Content-Type: text/plain; charset="UTF-8" I'd set it up like you would an emphasis wrapping element. Once you specify the list, you can use it wherever that element is allowed. For instance: Attribute list Name: Type Choice Optional Choices: Bold, ........ Text format rules If context is: [Type = "Bold"] Text range. Font properties Weight: Bold but replace Bold with the colour etc. Hope it points you in the right direction ------------------------------ Message: 2 Date: Fri, 23 Feb 2018 10:24:52 +0100 From: Wim Hooghwinkel - idtp <w...@idtp.eu<mailto:w...@idtp.eu>> To: feimin.lore...@onsemi.com<mailto:feimin.lore...@onsemi.com> Cc: Framers <framers@lists.frameusers.com<mailto:framers@lists.frameusers.com>> Subject: Re: [Framers] Setting up coloured text in Structure Message-ID: <d1fcb1fc-3571-4a4b-8a83-261bed67e...@idtp.eu<mailto:d1fcb1fc-3571-4a4b-8a83-261bed67e...@idtp.eu>> Content-Type: text/plain; charset=us-ascii Hi Fei Min, you should use paragraph and chatracter formats for your elements. Use the outputclass value to determine the format to use. Then change the formats in your template as needed. Vriendelijke groet / Kind regards, Wim Hooghwinkel Fei Min Lorente Business Process Analyst Medical and Wireless Division feimin.lore...@onsemi.com<mailto:feimin.lore...@onsemi.com> +1 519-884-9696 ext. 2297 | Waterloo office +1 519-831-4931 | mobile +1 905-631-5724 | fax www.onsemi.com<http://www.onsemi.com/> _______________________________________________ This message is from the Framers mailing list Send messages to framers@lists.frameusers.com Visit the list's homepage at http://www.frameusers.com Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/ Subscribe and unsubscribe at http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com Send administrative questions to listad...@frameusers.com