alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<?xml version="1.0"?>
<!DOCTYPE staff SYSTEM "staff.dtd" [
   <!ENTITY ent1 "es">
   <!ENTITY ent2 "1900 Dallas Road">
   <!ENTITY ent3 "Texas">
   <!ENTITY ent4 "">
   <!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1>
   <!ENTITY ent1 "This entity should be discarded">
   <!NOTATION notation1 PUBLIC "notation1File">
   <!NOTATION notation2 SYSTEM "notation2File">
]>
<!-- This is comment number 1.-->
<staff>
    <employee>
        <employeeId>EMP0001
        <name>Margaret Martin
        <position>Accountant
        <salary>56,000
        <gender>Female
        <address domestic="Yes">1230 North Ave. Dallas, Texas 98551
    </employee>
    <employee>
        <employeeId>EMP0002
        <name>Martha Raynolds
            <![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]>
        <position>Secretary
        <salary>35,000
        <gender>Female
        <address domestic="Yes" street="Yes">&ent2; Dallas, &ent3;
 98554</address>
    </employee>
    <employee>
        <employeeId>EMP0003
        <name>Roger
 Jones</name>
        <position>Department Manager
        <salary>100,000
        <gender>&ent4;
        </gender>
        <address domestic="Yes" street="No">PO Box 27 Irving, texas 98553
    </employee>
    <employee>
        <employeeId>EMP0004
        <name>Jeny Oconnor
        <position>Personnel Director
        <salary>95,000
        <gender>Female
        <address domestic="Yes" street="Y&ent1;">27 South Road. Dallas, Texas 98556
    </employee>
    <employee>
        <employeeId>EMP0005
        <name>Robert Myers
        <position>Computer Specialist
        <salary>90,000
        <gender>male
        <address street="Yes">1821 Nordic. Road, Irving Texas 98558
    </employee>
</staff>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.