-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
# ======================================================================
-db.optional.sections = db.section* | db.simplesect*
+db.toplevel.optional.sections = db.section* | db.simplesect*
-db.required.sections = db.section+ | db.simplesect+
+db.toplevel.required.sections = db.section+ | db.simplesect+
-db.blocks.or.sections =
- (db.all.blocks+, db.optional.sections) | db.required.sections
+db.toplevel.blocks.or.sections =
+ (db.all.blocks+, db.toplevel.optional.sections) | db.toplevel.required.sections
+
+db.recursive.optional.sections = db.section* | db.simplesect*
+
+db.recursive.required.sections = db.section+ | db.simplesect+
+
+db.recursive.blocks.or.sections =
+ (db.all.blocks+, db.recursive.optional.sections) | db.recursive.required.sections
+
+db.optional.refentry = notAllowed
+db.required.refentry = notAllowed
# ======================================================================
db.navigation.components = notAllowed
db.component.contentmodel =
- db.navigation.components*, db.blocks.or.sections, db.navigation.components*
+ db.navigation.components*, db.toplevel.blocks.or.sections, db.navigation.components*
# ======================================================================
element partintro {
db.partintro.attlist,
db.partintro.info,
- db.blocks.or.sections
+ db.toplevel.blocks.or.sections
}
}
element section {
db.section.attlist,
db.section.info,
- db.blocks.or.sections
+ db.recursive.blocks.or.sections
}
}
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
db.article.optional.components |= db.refentry*
db.article.required.components |= db.refentry+
+db.toplevel.optional.sections |= db.refentry*
+db.toplevel.required.sections |= db.refentry+
+
+db.recursive.optional.sections |= db.refentry*
+db.recursive.required.sections |= db.refentry+
+
+db.optional.refentry |= db.refentry*
+db.required.refentry |= db.refentry+
+
+db.refsect1 = notAllowed
+db.refsect2 = notAllowed
+
# ======================================================================
[
# ======================================================================
-db.optional.refsections = db.refsection* | db.simplesect*
-
-db.required.refsections = db.refsection+ | db.simplesect*
-
-db.blocks.or.refsections =
- (db.all.blocks+, db.optional.refsections) | db.required.refsections
-
-# ======================================================================
-
[
db:refname [ "refentry" ]
db:refpurpose [ "" ]
db.refmeta?,
db.refnamediv+,
db.refsynopsisdiv?,
- db.refsection+
+ (db.refsection+|db.refsect1+)
}
}
element refsynopsisdiv {
db.refsynopsisdiv.attlist,
db.refsynopsisdiv.info,
- db.blocks.or.refsections
+ ((db.all.blocks+, (db.refsection* | db.refsect2*))
+ | (db.refsection+ | db.refsect2+))
}
}
element refsection {
db.refsection.attlist,
db.refsection.info,
- db.blocks.or.refsections
+ ((db.all.blocks+, db.refsection*)
+ | db.refsection+)
}
}
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a reinterpretation of "Simplified DocBook" in the NG framework.
#
-# This file is part of Slides NG
+# This file is part of Slides NG: The "Cachaça" Release.
# This schema is a reinterpretation of "Slides" in the NG framework.
#
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of DocBook NG: The "Bourbon" Release.
+# This file is part of DocBook NG: The "Cachaça" Release.
# This schema is a "work-in-progress". It validates a DocBook-like grammar that
# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
-# This file is part of Website NG
+# This file is part of Website NG: The "Cachaça" Release.
# This schema is a reinterpretation of "Website" in the NG framework.
#
-# This file is part of Website NG
+# This file is part of Website NG: The "Cachaça" Release.
# This schema is a reinterpretation of "Website" in the NG framework.
#
<xsl:text> </xsl:text>
<xsl:text> </xsl:text>
- <xsl:comment> DocBook NG: The "Bourbon" Release </xsl:comment>
+ <xsl:comment> DocBook NG: The "Cachaça" Release </xsl:comment>
<xsl:text> </xsl:text>
<xsl:comment> See http://docbook.org/docbook-ng/ </xsl:comment>
<xsl:text> </xsl:text>
<xsl:param name="title" select="'anonymous'"/>
<xsl:param name="base.dir" select="'html/'"/>
<xsl:param name="stylesheet" select="'html.css'"/>
- <xsl:param name="ng-release" select="'Bourbon'"/>
+ <xsl:param name="ng-release" select="'Cachaça'"/>
<xsl:output method="html"/>