Skip to Content
Real World XML
book

Real World XML

by Steven Holzner
January 2003
Beginner to intermediate content levelBeginner to intermediate
1200 pages
23h 42m
English
Peachpit Press
Content preview from Real World XML

XML and ASP

ASP is one of Microsoft's Internet server-side technologies that lets you create Web documents on the fly. It runs on servers such as the Microsoft Internet Information Server (IIS). In this case, I'll search ch20_01.mdb for the names of the students and return them in an XML document like this, using <document> as the document element and <student> for each student:

<?xml version="1.0"?> 
<document>
    <student>
        Ann
    </student>
    <student>
        Mark
    </student>
    <student>
        Ed
    </student>
    <student>
        Frank
    </student>
    <student>
        Ted
    </student>
    <student>
        Mabel
    </student>
    <student>
        Ralph
    </student>
    <student>
        Tom
    </student>
</document>

The main trick in the .asp file is to make sure your code creates an XML document because the default document type is ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Inside XML

Inside XML

Steven Holzner
XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 0735712867Purchase book