<!-- ...................................................................... -->
<!-- Web Forms 2.0 Call For Comments - 27 June 2004
             QName (Qualified Name) Module ................................ -->
<!-- file: webforms20-qname.mod
     
     Web Forms 2.0, the next generation HTML form model.
     
     Copyright 2005 Wakaba <w@suika.fam.cx>, All Rights Reserved.
     
     Permission to use, copy, modify and distribute this DTD and its
     accompanying documentation for any purpose and without fee is hereby
     granted in perpetuity, provided that the above copyright notice and
     this paragraph appear in all copies.  The copyright holders make no
     representation about the suitability of the DTD for any purpose.
     
     It is provided "as is" without expressed or implied warranty.
     
     Revision: 2005-04-05T01:46:48+00:00 (Generated by mkdtds/1.06)
     
     This DTD module is identified by the SYSTEM identifier:
     
       SYSTEM "webforms20-qname.mod"
     
     ...................................................................... -->

<!-- Web Forms QName (Qualified Name) Module

     This module is contained in two parts, labeled Section 'A' and 'B':
     
       Section A declares parameter entities to support namespace-qualified
       names, namespace declarations, and name prefixing.
     
       Section B declares parameter entities used to provide namespace-qualified
       names for all element types and global attribute names.
-->

<!ENTITY % sgml.tag.minimizable "IGNORE">

<!ENTITY % NS.prefixed "IGNORE">

<!-- Section A: XML Namespace Framework :::::::::::::::::::::::::: -->

<!-- 1. Declare a %webforms20.prefixed; conditional section keyword, used
        to activate namespace prefixing. -->
<!ENTITY % webforms20.prefixed "%NS.prefixed;">

<!ENTITY % webforms20.global.attrs.prefixed "%NS.prefixed;">

<!ENTITY % webforms20.xsi.attrs "INCLUDE">

<!-- 2. Declare a parameter entity %webforms20.xmlns; containing
        the URI reference used to identity the namespace. -->
<!ENTITY % webforms20.xmlns "http://www.w3.org/1999/xhtml">

<!-- 3. Declare parameter entity %webforms20.prefix; containing
        the default namespace prefix string to use when prefixing
        is enabled. This may be overridden in the DTD driver or the
        internal subset of a document instance.
        
        NOTE: As specified in XML Namespace speficications, the namespace
        prefix serves as a proxy for the URI reference, and is not in itself
        significant. -->
<!ENTITY % webforms20.prefix "html">

<!-- 4. Declare parameter entity %webforms20.pfx; containing the
        colonized prefix (e.g, '%webforms20.prefix;:') used when
        prefixing is active, an empty string when it is not. -->
<![%webforms20.prefixed;[
<!ENTITY % webforms20.pfx "%webforms20.prefix;:">
]]>
<!ENTITY % webforms20.pfx "">

<!-- declare qualified name extensions here ............ -->
<!ENTITY % webforms20-qname-extra.mod "">
%webforms20-qname-extra.mod;

<!-- 5. The parameter entity %webforms20.xmlns.extra.attrib; may be
        redeclared to contain any foreign namespace declaration
        attributes for namespaces embedded.  The default
        is an empty string. -->
<!ENTITY % webforms20.xmlns.extra.attrib "">

<!-- The parameter entity %URI.datatype; should already be defined in
     Datatype module. -->
<!ENTITY % URI.datatype "CDATA">

<![%webforms20.prefixed;[
<!ENTITY % webforms20.xmlns.decl.attrib
	"xmlns:%webforms20.prefix;	%URI.datatype;	#FIXED '%webforms20.xmlns;'">
]]>
<!ENTITY % webforms20.xmlns.decl.attrib
	"xmlns	%URI.datatype;	#FIXED '%webforms20.xmlns;'">

<!-- Declare a parameter entity %XSI.prefix as a prefix to use for
     XML Schema Instance attributes. -->
<!ENTITY % XSI.prefix "xsi">

<!ENTITY % XSI.pfx "%XSI.prefix;:">

<!ENTITY % XSI.xmlns "http://www.w3.org/2001/XMLSchema-instance">

<!-- Declare a parameter entity %XSI.xmlns.attrib as support for
     the schemaLocation attribute. -->
<!ENTITY % XSI.xmlns.attrib
	"xmlns:%XSI.prefix;	%URI.datatype;	#FIXED '%XSI.xmlns;'">

<![%webforms20.prefixed;[
<!ENTITY % NS.decl.attrib
	"%webforms20.xmlns.decl.attrib;
	%webforms20.xmlns.extra.attrib;
	%XSI.xmlns.attrib;">
]]>
<!ENTITY % NS.decl.attrib
	"%webforms20.xmlns.extra.attrib;
	%XSI.xmlns.attrib;">

<!-- Declare a parameter entity containing all XML namespace declaration
     attributes used, including a default xmlns declaration when prefixing
     is inactive. -->
<![%webforms20.prefixed;[
<!ENTITY % webforms20.xmlns.attrib
	"%NS.decl.attrib;">
]]>
<!ENTITY % webforms20.xmlns.attrib
	"%webforms20.xmlns.decl.attrib;
	%NS.decl.attrib;">

<!-- Section B: Web Forms Qualified Names ::::::::::::::::::::::::: -->

<!-- placeholder for qualified name redeclarations -->
<!ENTITY % webforms20-qname.redecl "">
%webforms20-qname.redecl;

<!-- 6. This section declare parameter entities used to provide
        namespace-qualified names for all element types and global
        attribute names. -->
<!ENTITY % webforms20.button.qname   "%webforms20.pfx;button">
<!ENTITY % webforms20.fieldset.qname "%webforms20.pfx;fieldset">
<!ENTITY % webforms20.form.qname     "%webforms20.pfx;form">
<!ENTITY % webforms20.input.qname    "%webforms20.pfx;input">
<!ENTITY % webforms20.label.qname    "%webforms20.pfx;label">
<!ENTITY % webforms20.legend.qname   "%webforms20.pfx;legend">
<!ENTITY % webforms20.optgroup.qname "%webforms20.pfx;optgroup">
<!ENTITY % webforms20.option.qname   "%webforms20.pfx;option">
<!ENTITY % webforms20.output.qname   "%webforms20.pfx;output">
<!ENTITY % webforms20.select.qname   "%webforms20.pfx;select">
<!ENTITY % webforms20.textarea.qname "%webforms20.pfx;textarea">

<!ENTITY % webforms20.repeat.attrib.qname "%webforms20.prefix;:repeat">
<!ENTITY % webforms20.repeat-max.attrib.qname "%webforms20.prefix;:repeat-max">
<!ENTITY % webforms20.repeat-min.attrib.qname "%webforms20.prefix;:repeat-min">
<!ENTITY % webforms20.repeat-start.attrib.qname "%webforms20.prefix;:repeat-start">


<!-- end of webforms20-qname.mod -->
