Home Forums General XMetaL Discussion How To Style A Text Node Reply To: How To Style A Text Node

Derek Read

Reply to: How To Style A Text Node

There are ways to style arbitrary portions of text with newer versions of XMetaL Author but that requires the use of some as of yet undocumented APIs and the script required to implement it can be fairly complicated (we have also only been sharing this information with partners to date). I believe 7.0 is required, 8.0 is preferred, and I have not yet tried these APIs with XMAX, just Author.

In this case, assuming your XML will be exactly as shown, it would be easiest to style the PI itself as XMetaL (both XMAX and Author) supports PI styling (our own extension to CSS). See the following post http://forums.xmetal.com/index.php/topic,24.0.html