<!-- ...................................................................... -->
<!-- SuikaWiki/0.9 Simple Documentation Format Vocabulary 2.9
             QName (Qualified Name) Module ................................ -->
<!-- file: sw09-qname.mod
     
     This is a markup vocabulary used in SuikaWiki/0.9 XML representation.
     
     Copyright 2010 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: 2010-06-20T05:34:54+00:00 (Generated by mkdtds/1.7)
     
     This DTD module is identified by the SYSTEM identifier:
     
       SYSTEM "**work-in-progress**sw09-qname.mod"
     
     ...................................................................... -->

<!-- SuikaWiki/0.9 Simple Documentation Format Vocabulary 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 "INCLUDE">

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

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

<!ENTITY % sw09.global.attrs.prefixed "INCLUDE">

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

<!-- 2. Declare a parameter entity %sw09.xmlns; containing
        the URI reference used to identity the namespace. -->
<!ENTITY % sw09.xmlns "urn:x-suika-fam-cx:markup:suikawiki:0:9:">

<!-- 3. Declare parameter entity %sw09.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 % sw09.prefix "sw09">

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

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

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

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

<![%sw09.prefixed;[
<!ENTITY % sw09.xmlns.decl.attrib
	"xmlns:%sw09.prefix;	%URI.datatype;	#FIXED '%sw09.xmlns;'">
]]>
<!ENTITY % sw09.xmlns.decl.attrib
	"xmlns	%URI.datatype;	#FIXED '%sw09.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;'">

<![%sw09.prefixed;[
<!ENTITY % NS.decl.attrib
	"%sw09.xmlns.decl.attrib;
	%sw09.xmlns.extra.attrib;
	%XSI.xmlns.attrib;">
]]>
<!ENTITY % NS.decl.attrib
	"%sw09.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. -->
<![%sw09.prefixed;[
<!ENTITY % sw09.xmlns.attrib
	"%NS.decl.attrib;">
]]>
<!ENTITY % sw09.xmlns.attrib
	"%sw09.xmlns.decl.attrib;
	%NS.decl.attrib;">

<!-- Section B: SuikaWiki/0.9 Simple Documentation Format Vocabulary Qualified Names  -->

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

<!-- 6. This section declare parameter entities used to provide
        namespace-qualified names for all element types and global
        attribute names. -->
<!ENTITY % sw09.anchor.qname   "%sw09.pfx;anchor">
<!ENTITY % sw09.anchor-end.qname "%sw09.pfx;anchor-end">
<!ENTITY % sw09.anchor-external.qname "%sw09.pfx;anchor-external">
<!ENTITY % sw09.anchor-internal.qname "%sw09.pfx;anchor-internal">
<!ENTITY % sw09.delete.qname   "%sw09.pfx;delete">
<!ENTITY % sw09.document.qname "%sw09.pfx;document">
<!ENTITY % sw09.dr.qname       "%sw09.pfx;dr">
<!ENTITY % sw09.form.qname     "%sw09.pfx;form">
<!ENTITY % sw09.insert.qname   "%sw09.pfx;insert">
<!ENTITY % sw09.parameter.qname "%sw09.pfx;parameter">
<!ENTITY % sw09.replace.qname  "%sw09.pfx;replace">
<!ENTITY % sw09.rubyb.qname    "%sw09.pfx;rubyb">
<!ENTITY % sw09.value.qname    "%sw09.pfx;value">
<!ENTITY % sw09.weak.qname     "%sw09.pfx;weak">

<!ENTITY % sw09.anchor.attrib.qname "%sw09.prefix;:anchor">
<!ENTITY % sw09.resParameter.attrib.qname "%sw09.prefix;:resParameter">
<!ENTITY % sw09.resScheme.attrib.qname "%sw09.prefix;:resScheme">


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