/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. <calloutlist>
  12. <callout arearefs="id1 id2">
  13. <para>blah</para>
  14. </callout>
  15. </calloutlist>
  16. <anchor id="id1"/>
  17. <anchor id="id2"/>
  18. <para>
  19. <ulink url="http://www.jedit.org">toto</ulink>
  20. </para>
  21. </article>