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

--
Martin Goik  Tel.  +49-711-8923-2164  http://www.HdM-Stuttgart.de/~goik
GnuPG public key: https://www.hdm-stuttgart.de/~goik/goik.asc

There are 11 kinds of people: Those who understand binary, those who
don't, and those who have no clue what binary is


--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to