PageRenderTime 42ms CodeModel.GetById 17ms 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
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
  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. <calloutlist>
  11. <callout arearefs="id1 id2">
  12. <para>blah</para>
  13. </callout>
  14. </calloutlist>
  15. <anchor id="id1"/>
  16. <anchor id="id2"/>
  17. <para>
  18. <!-- url with space, so that it breaks when using soft-wrap (margin=20) -->
  19. <ulink url="http://www .jedit.org">toto</ulink>
  20. </para>
  21. </article>