On 02/09/2017 03:09 PM, nobili, philippe wrote:

Could you explain us briefly what is the meaning of the syntax {db51}, compared to using 
plain "db51." like we did previously in our customizations (DocBook 4 and 5).

Will {db51} be simply replaced by "db51." or are there subtleties  we should be 
aware of ?


There are subtleties you should be aware of.

"{db51}foo" and "db51.foo" are completely different names. You can have both in the same configuration.

"{db51}foo" is a name which is to be given to a *private* command (or parameter group). That is, such commands cannot be executed using "Tools|Execute Command".

"db51.foo" is a name which is to be given to a *public* command (or parameter group). That is, such commands can be executed using "Tools|Execute Command".

Excerpts from "4.1. About command names" in http://www.xmlmind.com/xmleditor/_distrib/doc/configure/command_names.html

---
When you'll want your command to be really hidden from the end-users, you may consider giving it a name having a namespace (not related to XML namespaces). Example: in "{My Config}doit", the namespace is "My Config" and the local name is "doIt".
---

If you don't want to think about all this, always use prefixes like "db51." for your own custom commands.




--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to