How to use XMetal-style placeholders (xm-replace_text)
Processing instructions can be used in XML documents to show placeholders for text
When a document (or document template) is loaded with xm-replace_text processing instructions in it, these are shown as regular placeholders. The text is shown in grey, and when content is added to the placeholder, the placeholder disappears.
<title><?xm-replace_text Write your title here?></title>
Some remarks:
- When an element contains both content and an
xm-replace_textprocessing instruction, only the content is shown - When multiple
xm-replace_textprocessing instructions exist in a given element, only the last processing instruction is shown