Charles Palmer wrote:
> I want to make use of ENTITIES, so substitute placeholders with my real 
> text at a later stage.
>  
> I have a Forrest document that includes the following:
>  
> <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"
> "http://apache.org/forrest/dtd/document-v12.dtd"; [
> <!ENTITY GX2Board "PbX-104">
> ]>
>  
> ...snip...
>  
> <p>The &GX2Board; has four USB ports.
>  
>  
> If I open it with XMLMind I get a warning message, and after I save it I 
> get this:
>  
>       <p>The PbX-104 has four USB ports.
>  
> - in other words, XMLMind has done a permanent substitution.
>  
> Similarly, if I try to insert an ENTITY, by changing "PbX-104" in the 
> XMLMind to " &GX2Board;" I end up with this:
>  
>       <p>The &amp;GX2Board; has four USB ports. 
>  
> Your help menu talks about managed and non-manged entities, but I don't 
> understand. How can I get XMLMind to "manage" my entity, and not treat 
> it as "unmanged" and change it?

There is no way to do this.

This is a limitation of XXE  we do not plan to remove. (We thought this 
limitation was well documented! see 
http://www.xmlmind.com/xmleditor/detailed_features.html#nonfeatures .)

If you read this part of the tutorial: 
http://www.xmlmind.com/xmleditor/_distrib/docs/user/userguide3.html#id.s3 
, you'll see how, IMHO, XIncludes offers a cleaner approach (i.e. more 
structured) to this text substitution problem.


Reply via email to