PageRenderTime 17ms CodeModel.GetById 15ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
XML | 25 lines | 16 code | 4 blank | 5 comment | 0 complexity | 91c95ac4032be006ac4abef7dad3d21c MD5 | raw file
 1<?xml version="1.0" ?>
 2<!-- example with IDREFS inside arearefs.
 3       id1 and id2 are picked as separate hyperlinks and when clicking on one of them,
 4       the cursor moves to the corresponding anchor
 5       ulink is picked by a special case in XMLHyperlinkSource because url has type anySimpleType in the XSD
 6    -->
 7<article
 8    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 9    xmlns:xi="http://www.w3.org/2001/XInclude"
10    xsi:noNamespaceSchemaLocation='http://www.docbook.org/xsd/4.4/docbook.xsd'>
11    
12   <calloutlist>
13   <callout arearefs="id1 id2">
14   <para>blah</para>
15   </callout>
16   </calloutlist>
17    
18   <anchor id="id1"/>
19   
20   <anchor id="id2"/>
21
22   <para>
23   <ulink url="http://www.jedit.org">toto</ulink>
24   </para>
25</article>