Chris Cosentino wrote:
> 
> Is there a way to configure XXE so that '???' is not automatically 
> inserted into required elements that currently have no value?

The <newElementContent> configuration element (see 
http://www.xmlmind.com/xmleditor/_distrib/docs/poweruser/ar01s04s15.html 
) has been created to specify this.

Unfortunately, this configuration element has not *exactly* the option 
you want.

We'll add the option you need in next release: XXE V2.5p2, which should 
be out next week.



> This creates a problem for us when we check the document into our CMS. 
> The CMS looks for blank ID attributes and sets a unique value for them 
> (This way the writing team does not have to worry about inserting 
> required IDs, and we can be certain all IDs across a document set are 
> unique).
> 
> However, documents saved in XXE have '???' inserted into these required 
> attributes if they are blank, and the question marks stay there when the 
> file is saved. Manually removing this text, saving the file, and 
> reopening the file causes the '???' to be reinserted.

You cannot remove "???" using XXE. XXE only allows the user to replace 
"???" by an actual ID.

If you really want to remove "???", you need to save the file and use an 
external text editor (or sed). If after that, you reopen the file with 
XXE, our editor will *not* add "???" again.

(What I'm trying to explain is that I cannot reproduce the behavior you 
have described.)



> We would like the editor to not automatically change any attribute 
> values. If this is possible, a pointer to the right configuration file 
> to make a change would be very helpful.

XXE *never* automatically changes attribute values.


Reply via email to