/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
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- <?xml version="1.0" ?>
- <!-- example with IDREFS inside arearefs.
- id1 and id2 are picked as separate hyperlinks and when clicking on one of them,
- the cursor moves to the corresponding anchor
- ulink is picked by a special case in XMLHyperlinkSource because url has type anySimpleType in the XSD
- -->
- <article
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xi="http://www.w3.org/2001/XInclude"
- xsi:noNamespaceSchemaLocation='http://www.docbook.org/xsd/4.4/docbook.xsd'>
-
- <calloutlist>
- <callout arearefs="id1 id2">
- <para>blah</para>
- </callout>
- </calloutlist>
-
- <anchor id="id1"/>
-
- <anchor id="id2"/>
- <para>
- <ulink url="http://www.jedit.org">toto</ulink>
- </para>
- </article>