PageRenderTime 144ms CodeModel.GetById 141ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/bundles/plugins-trunk/XML/test_data/hyperlinks/idrefs.xml

#
XML | 25 lines | 14 code | 4 blank | 7 comment | 0 complexity | 9d413603babf96d42aa22ce486928a34 MD5 | raw file
 1<?xml version="1.0" ?>
 2<!-- :wrap=soft:maxLineLen=20: -->
 3<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "docbookx.dtd">
 4<!-- example with IDREFS inside arearefs.
 5       id1 and id2 are picked as separate hyperlinks and when clicking on one of them,
 6       the cursor moves to the corresponding anchor
 7       ulink is picked by a special case in XMLHyperlinkSource because url has type CDATA in the DTD
 8    -->
 9<article>
10    
11   <calloutlist>
12   <callout arearefs="id1 id2">
13   <para>blah</para>
14   </callout>
15   </calloutlist>
16    
17   <anchor id="id1"/>
18   
19   <anchor id="id2"/>
20
21   <para>
22   <!-- url with space, so that it breaks when using soft-wrap (margin=20) -->
23   <ulink url="http://www .jedit.org">toto</ulink>
24   </para>
25</article>