Pros:
this feature would be indeed handy if it worked flawlessly in all cases.
Cons:
1) ID attributes are rarely changed.
2) Nowadays most documents are modular, which makes the implementation
quite difficult.
This being said, we add your suggestion to our think tank and may be
we'll implement something simple, yet useful, in future.
Thank you for suggesting this.
On 02/21/2013 04:04 PM, Martin Goik wrote:
To start with my suggestion both ID and IDREF (like "linkend" in
docbook) often carry semantics: A Docbook <chapter id="basicsOfXml"> for
example will create an HTML file name "basicsOfXml.html".
For this reason it is sometimes desired to change these values (unless
annoying users who possibly already made HTML bookmarks to e.g.
".../basicsOfXml.html"). Using Xmlmind this requires to manually change
the ID attribute in question and all referencing IDREF attributes as
well. I currently use a text editor for this task replacing e.g. the
Expression "basicsOfXml" by e.g. "lotsOfXmlStuff" (including the
delimiters""). It would save me a lot of time if changing both an ID
attribute or any referencing IDREF attribute in Xmlmind would
consistently change **all** related values as well. So suppose I had the
following Docbook fragment:
<chapter id="basicsOfXml">
...
<section id="basics">
...
<para> ... <xref linkend="basicsOfXml" /> ...</para>
Now I might use Xmlmind's attribute window changing just the id
attribute and automatically end up with:
<chapter id="lotsOfXmlStuff">
...
<section id="basics">
...
<para> ... <xref linkend="lotsOfXmlStuff" /> ...</para>
Additionally it would be nice if I the GUI would allow to distinguish
between:
a) consistenly renaming the linkend's value and both the ID target and
possibly other (transitiveley dependent) IDREF values to "lotsOfXmlStuff".
b) changing linkend's value to a different link target e.g. "basics".
Martin Goik
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support