/bundles/plugins-trunk/XML/test_data/hyperlinks/idrefs.xml
# · XML · 25 lines · 14 code · 4 blank · 7 comment · 0 complexity · 9d413603babf96d42aa22ce486928a34 MD5 · raw file
- <?xml version="1.0" ?>
- <!-- :wrap=soft:maxLineLen=20: -->
- <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "docbookx.dtd">
- <!-- 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 CDATA in the DTD
- -->
- <article>
-
- <calloutlist>
- <callout arearefs="id1 id2">
- <para>blah</para>
- </callout>
- </calloutlist>
-
- <anchor id="id1"/>
-
- <anchor id="id2"/>
- <para>
- <!-- url with space, so that it breaks when using soft-wrap (margin=20) -->
- <ulink url="http://www .jedit.org">toto</ulink>
- </para>
- </article>