You summarized it exactly, and I thank you both for your help.  I was
hoping there was a way to display a list of all of the available IDs
from which I could delete this particular one ...the reason being that
in my search so far I can't find where that ID is being used.  If I
could find the xref that links to it I knew I could delete it there.  Am
I missing something basic in XMLmind - is there a way to display such a
list other than the 'Select ID' window since you can't delete from the
'Select ID' window?  And if there is no such list from which I can
delete the unwanted ID, any hints on how to find where it's being used?

Thanks again.

Diane

-----Original Message-----
From: John L. Clark [mailto:[email protected]] 
Sent: Wednesday, February 02, 2005 12:46 PM
To: Diane Rainaud
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] How to delete a link ID


On Wed, Feb 02, 2005 at 11:53:22AM -0500, Diane Rainaud wrote:
> I may not be understanding your answer, but I'm not trying to delete 
> an element or an attribute.  It's a link ID I'm trying to remove.  
> After inserting my xref, I had to enter a name for the text I wanted 
> to link to...I did that by entering the name in the Attribute ID value

> field. The text I set up that ID for is no longer anything I want to 
> have available in the list of IDs to select from when creating links, 
> but I can't see how or those IDs  can be deleted.

I think I understand the problem, but I'm not sure.  I'll summarize it
here; if it does not match your situation, then you can likely skip the
rest of my answer.  The 'xref' element is meant to be a raw cross
reference within a document.  It has a 'linkend' attribute which must
correspond to an 'id' attribute on an element in your document.  For
example, it is common to set the 'id' on a 'section' element and then
cross reference to that section using the xref element.

Now, XXE collects a list of *all* available 'id' attributes
(technically, any attributes of type ID) and displays those in the
'Select ID' prompt if you press the button next the Value: field in the
attribute editor.  Thus, in order to not display a value in that list,
you need to remove the corresponding 'id' attribute from the correct
element.

For example, suppose you have a section with an id of 'conclusions' and
an xref that has a linkend with the same value.  If you no longer want
the 'conclusions' identifier to be present, you can navigate to the
section element with that id and remove the id attribute (using Mr.
Shafie's instructions).  If you are currently at the xref element that
links to the 'conclusions' section, then you can quickly navigate to
that section by choosing DocBook > Go to Opposite Link End while the
xref element is selected.

Take care,

    John L. Clark

Hint: while in the 'Select ID' window, you can type in part of an
identifier (such as 'co', following the example above) and press the
space bar to cause XXE to automagically fill in the longest unique
string prefix of the identifier.  This is useful for quickly picking
identifiers by name.



Reply via email to