This code sample is adapted from Clifford B. Anderson and Joseph C. Wicentowski, XQuery for Humanists (College Station: Texas A&M University Press, 2020), 292. Download this code sample in its raw form. View the source on GitHub.

<csv>
    <row>
        <Author>J. Walls</Author>
        <Title>The Glass Castle</Title>
        <ISBN>074324754X</ISBN>
        <Binding>Paperback</Binding>
        <Year_Published>2006</Year_Published>
    </row>
    <row>
        <Author>J. Surowiecki</Author>
        <Title>The Wisdom of Crowds</Title>
        <ISBN>9780385503860</ISBN>
        <Binding>Paperback</Binding>
        <Year_Published>2005</Year_Published>
    </row>
    <row>
        <Author>L. Lessig</Author>
        <Title>The Future of Ideas</Title>
        <ISBN>9780375505782</ISBN>
        <Binding>Paperback</Binding>
        <Year_Published>2002</Year_Published>
    </row>
    <row>
        <Author>L. Bossidy, R. Charan, C. Burck</Author>
        <Title>Execution</Title>
        <ISBN>9780609610572</ISBN>
        <Binding>Hardcover</Binding>
        <Year_Published>2002</Year_Published>
    </row>
    <row>
        <Author>K. Vonnegut</Author>
        <Title>Slaughterhouse-Five</Title>
        <ISBN>9780791059258</ISBN>
        <Binding>Paperback</Binding>
        <Year_Published>1999</Year_Published>
    </row>
</csv>