Chris Taylor wrote: > I am getting on very well with XXE but have a small question relating to > context links. In the XML file that I originally imported, it has links > that show up in your editor with a link symbol. This then shows the link > text as the link end in the output document when exported using > xsltproc. This is usefull for figures and examples because it then > automatically inserts the figure/example number. This is different to > your 'link' option in the 'a' pulldown because that is simply a pointer. > Both methods put in only a linkend as the attribute. Can you please let > me know how I can insert a chained link from scratch as currently I am > having to copy-paste. > > The attached image shows the two with an arrow.
From the screenshot, I assume that the ``chained link'' is an xref element. Here's the quickest way to do that: it's the generic method when you prefer not to use your mouse. [1] Move the caret to the location where you want to insert the xref element then press Ctrl-I (Edit|Insert) [2] Type "x" then "r" then press Space (for autocompletion) then press Enter. [3] Type Ctrl-E (Tools|Edit Attribute) [4] Type "l" then "i" then press Space then press Enter. [5] Type the beginning of the link target (if it is in the list otherwise you need to type it fully) then press Space then press Enter.

