On 11/21/2011 04:36 AM, Carlos Villegas wrote:
>
> We have an addon for a relaxng schema in which we have several root
> elements which have the same content model.
> We want to be able to convert between one root tag and another, however,
> the "convert..." command is not enabled.
> Is this always the case that the root element can't be converted or is
> this something wrong in the configuration or the schema?

No. Sorry but XMLmind XML Editor does not allow to replace the root 
element of a document. You can change all the attributes and all the 
child nodes of the root element, but you cannot replace the root element 
itself.


 > Anyway to do this?

Sorry but I don't see. May be a custom, non-validating, conversion 
command. However I cannot guarantee that XXE (undo manager, CSS engine, 
etc) would behave correctly after you'll replace the root element of the 
document.
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to