Home Forums General XMetaL Discussion Defining the Normal View CSS Reply To: Defining the Normal View CSS


Reply to: Defining the Normal View CSS

For test formatting XSLT and CSS are well known techniques. While XSLT is used to change the XML from one dialect to another CSS is here to apply color, fonts and metrics. The typical preview is based on XSLT from “yourXML” to XHTML with colors and fonts defined in CSS. The edit window is based on “yourXML”, CSS is again used for color, fonts etc.
Therefore no XSLT processing is done in edit mode. In addition to CSS, XFT forms can be programmed for edit mode.
The edit window is just “WYSIOO” (What you see is one option), different to any rendition including preview.
We run our renditions on a server and added a button to the toolbar to trigger htis preview rendition in a seperate IE window.