ISBN: 1491915103

2nd edition, , O'Reilly Media, Inc.

Appendix B: Built-in Types

Please note that the book contains many inline examples and informal tables that are not provided here.

Example B-1. XML document with attributes of type ID and IDREF (book.xml)
  <section id="preface">This book introduces XQuery...
    The examples are downloadable<fnref ref="fn1"/>...
  <section id="context">...</section>
  <section id="language">...Expressions, introduced
   in <secRef refs="context"/>, are...
  <section id="types">...As described in
    <secRef refs="context language"/>, you can...
  <fn fnid="fn1">See http://datypic.com.</fn>
Datypic XQuery Services