Sample XML Data File for Boolean Operators in Predicates

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XPath Developer's Guide

Sample XML Data File for Boolean Operators in Predicates

For more information about this file, see Testing within a Predicate by Using Boolean Operators.

XML File (book_qse.xml)

<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="predicate.xsl"?>
<book copyright="2001">
    <title>Quantum Superstring Electrodynamics for Newbies</title>
    <chapter date_written="2000-11-03">
        <title>QSE Background</title>
        <section>
            <title>History</title>
            <text>The history of quantum superstring...<noteref idref="def_ed"/></text>
            <text>On the other hand...<noteref idref="clarif_01"/></text>
            <text>Still,...</text>
        </section>
        <section>
            <title>First Principles</title>
            <text>Before proceeding further...<noteref idref="Feyn"/></text>
            <text>We will see many examples...</text>
        </section>
        <notes>
            <note id="def_ed">The term "electrodynamics" refers to...</note>
            <note id="clarif_01">Not to be confused with...</note>
            <note id="Feyn">Or, as Feynman once said...</note>
        </notes>
    </chapter>
    <chapter date_written="2000-12-16">
        <title>Quanta</title>
        <section>
            <title>Packaging the Lightning</title>
            <text>A "quantum," basically, represents...<noteref idref="exp_01"/></text>
            <text>Yes, it is true that we cannot draw conclusions from such a...</text>
        </section>
        <section>
            <title>Quanta within Quanta</title>
            <text>Picture a set of nested boxes, such as Figure 1:
            <figure location="media/figure_01.png"
                caption="Figure 1: Boxes within boxes within boxes..."/></text>
            <text>What do we mean when we say...?<noteref idref="clarif_02"/></text>
            <text>...as we shall see over the next five to ten exciting years.</text>
        </section>
        <notes>
            <note id="exp_01">Try it yourself! Take your laser...</note>
            <note id="clarif_02">Don't let the term "poison" alarm...</note>
        </notes>
    </chapter>
</book>