znd wrote:
> 
> I'm using XMLmind Standard Edition and would like to define a sort of
> placeholders, e.g. companyname = "MYCOMP", and then use the placeholders in 
> the
> text. 

I'm not sure to have understood what you exactly want to do.

* Using text *variables* (in XML parlance: references to internal or 
external text entities) is not possible.

* Defining named element templates is possible. These element templates 
often contain *placeholder* text.

In order to use element templates, you define to define them in the XXE 
configuration associated to your document type.

DocBook example, if you add this to 
XXE_install_directory/config/docbook/docbook.xxe:

---
   <elementTemplate name="placeholder" selectable="override">
     <address xmlns=""><firstname>Type first name here.</firstname> 
<surname>Type last name here.</surname>
Type street, zip, city, country here.</address>
   </elementTemplate>
---

will cause XXE to always (because selectable="override") insert an 
address element containing placeholder text.

See Power User's Guide to learn how to use elementTemplates 
http://www.xmlmind.com/xmleditor/_distrib/docs/poweruser/ar01s04s09.html


Reply via email to