40 lines
1.6 KiB
Text
40 lines
1.6 KiB
Text
|
# Overrides declarations of certain elements to allow extra attributes for specific SSP-based projects.
|
||
|
#
|
||
|
# Author: Giorgia Tolfo
|
||
|
# Date: 20171204
|
||
|
# Project: XML CMS
|
||
|
#
|
||
|
# ***N.B. THIS SCHEMA IS PROVIDED FOR THIS PURPOSE ALONE AND DOES NOT PROVIDE VALIDITY
|
||
|
# TO ANY OTHER PRODUCTION PROCESS***
|
||
|
|
||
|
default namespace = "http://docbook.org/ns/docbook"
|
||
|
namespace exp = "http://cms.bloomsbury.com/export"
|
||
|
|
||
|
#additional condition values
|
||
|
condition-additions = "monographAsReference"
|
||
|
|
||
|
#role values specific to Bloomsbury Early Years
|
||
|
BEY-styles = "BEYStyleA" | "BEYStyleC" | "BEYStyleE" |"BEYStyleM" |"BEYWhereToGoNext" |"BEYStyleG" |"BEYStyleD" |"BEYStyleB" |"BEYStyleJ" |"BEYStyleN" |"BEYStyleK" |"BEYStyleO" |"BEYStyleX" |"BEYStyleH" |"BEYStyleL"
|
||
|
|
||
|
#export role values
|
||
|
#figures:
|
||
|
figure-export-role-att = attribute exp:role { "coverImage" | "download" }
|
||
|
#tables:
|
||
|
table-export-role-att = attribute exp:role { "download" }
|
||
|
|
||
|
#NB following can occur in chapter or article content
|
||
|
db.figure.attlist &= figure-export-role-att?
|
||
|
db.cals.table.attlist &= table-export-role-att?
|
||
|
|
||
|
#N.B. following is article-specific
|
||
|
db.informalfigure.attlist &= figure-export-role-att?
|
||
|
|
||
|
#additional elements requiring profiling
|
||
|
db.chapter.attlist |= db.condition.attribute?
|
||
|
db.preface.attlist |= db.condition.attribute?
|
||
|
|
||
|
include "bloomsbury-mods.rnc"
|
||
|
{
|
||
|
db.condition.attribute = attribute condition { "hidden" | "display" | "mathml" | "non-mathml" | condition-additions }
|
||
|
db.section.role.attribute = attribute role { "overview-objectives" | "terms" | "exercises-activities" | "notes" | "labelOverRide" | "bibliography" | "subArticle" | "recipe" | BEY-styles }
|
||
|
}
|