Echo11 ../../../xml/samples/slideSample09.xml
LOCATOR
 SYS ID: file:/java/pubs/dev/j2eetutorial/examples/jaxp/sax/work/../../../xml/samples/slideSample09.xml

START DOCUMENT
<?xml version='1.0' encoding='UTF-8'?>
COMMENT:   A SAMPLE set of slides  
COMMENT:  FOR WALLY / WALLIES 
COMMENT: 
    DTD for a simple "slide show".

COMMENT:  Defines the %inline; declaration 
COMMENT: 
    This DTD does some of what the W3C is getting ready to do with its
    "XHTML" work (nee "Voyager").  It differs from the current WG draft
    because it uses namespaces correctly (!), and it isn't as complete
    even for HTML 3.2 support (much less 4.0) or, probably, correct.

    Note that what XHTML needs to do is become modular enough that XHTML
    can be used as a mixin with other document types, including either
    "the whole megillah" or just selected modules (e.g. omitting tables).
    That must work both ways ... other things as mixins to XHTML, and
    XHTML as a mixin to other things.

    THIS WILL BE REPLACED WITH A BETTER DTD AT SOME POINT.

COMMENT:  SUBSTITUTIONS WORK IN ATTRIBUTES, TOO 
    ELEMENT: <slideshow
       ATTR: title	"WonderWidget Slide Show"
       ATTR: date	"Date of publication"
       ATTR: author	"Yours Truly"
    >
    COMMENT:  PROCESSING INSTRUCTION 
    PROCESS: <?my.presentation.Program QUERY="exec, tech, all"?>
    COMMENT:  TITLE SLIDE 
        ELEMENT: <slide
           ATTR: type	"all"
        >
            ELEMENT: <slide-title>
            CHARS:   Wake up to WonderWidgets!
            END_ELM: </slide-title>
        END_ELM: </slide>
    COMMENT:  TITLE SLIDE 
        ELEMENT: <slide
           ATTR: type	"all"
        >
            ELEMENT: <item>
            COMMENT:   A SAMPLE copyright  
            CHARS:   
This is the standard copyright message that our lawyers
make us put everywhere so we don't have to shell out a
million bucks every time someone spills hot coffee in their
lap...

            END_ELM: </item>
        END_ELM: </slide>
    COMMENT:  OVERVIEW 
        ELEMENT: <slide
           ATTR: type	"all"
        >
            ELEMENT: <slide-title>
            CHARS:   Overview
            END_ELM: </slide-title>
            ELEMENT: <item>
            CHARS:   Why 
                ELEMENT: <em>
                CHARS:   WonderWidgets
                END_ELM: </em>
            CHARS:    are great
            END_ELM: </item>
            ELEMENT: <item>
            END_ELM: </item>
            ELEMENT: <item>
            CHARS:   Who 
                ELEMENT: <em>
                CHARS:   buys
                END_ELM: </em>
            CHARS:    WonderWidgets
            END_ELM: </item>
        END_ELM: </slide>
        ELEMENT: <slide
           ATTR: type	"exec"
        >
            ELEMENT: <slide-title>
            CHARS:   Financial Forecast
            END_ELM: </slide-title>
            ELEMENT: <item>
            CHARS:   Market Size < predicted!
            END_ELM: </item>
            ELEMENT: <item>
            CHARS:   Anticipated Penetration
            END_ELM: </item>
            ELEMENT: <item>
            CHARS:   Expected Revenues
            END_ELM: </item>
            ELEMENT: <item>
            CHARS:   Profit Margin 
            END_ELM: </item>
        END_ELM: </slide>
        ELEMENT: <slide
           ATTR: type	"tech"
        >
            ELEMENT: <slide-title>
            CHARS:   How it Works
            END_ELM: </slide-title>
            ELEMENT: <item>
            CHARS:   First we fozzle the frobmorten
            END_ELM: </item>
            ELEMENT: <item>
            CHARS:   Then we framboze the staten
            END_ELM: </item>
            ELEMENT: <item>
            CHARS:   Finally, we frenzle the fuznaten
            END_ELM: </item>
            ELEMENT: <item>
            CHARS:   Diagram:
                         
           frobmorten <------------ fuznaten
               |            <3>        ^
               | <1>                   |   <1> = fozzle
               V                       |   <2> = framboze    
             staten--------------------+   <3> = frenzle
                            <2>
      
            END_ELM: </item>
        END_ELM: </slide>
    END_ELM: </slideshow>
END DOCUMENT