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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20050202/d588147d/attachment.sig
 

Reply via email to