⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tei_minimal.rng.svn-base

📁 XML Copy Editor is free software released under the GNU General Public License. It is available in C
💻 SVN-BASE
📖 第 1 页 / 共 5 页
字号:
<?xml version="1.0" encoding="utf-8"?>
<rng:grammar xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://www.tei-c.org/ns/1.0"><!--Schema generated from ODD source 2006-09-24T05:43:30+01:00. --><!----><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.certainty"><choice><value>high</value><value>medium</value><value>low</value><value>unknown</value></choice></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.probability"><data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="double"><rng:param name="minInclusive">0</rng:param><rng:param name="maxInclusive">1</rng:param></data></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.numeric"><choice><data type="double"/><data type="decimal"/></choice></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.count"><data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="nonNegativeInteger"/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.temporal"><choice><data type="date"/><data type="gYear"/><data type="gMonth"/><data type="gDay"/><data type="gYearMonth"/><data type="gMonthDay"/><data type="time"/><data type="dateTime"/><data type="token"><param name="pattern">(-?[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T)?([01][0-9]|2[0-3])(:[0-5][0-9])?(Z|[+\-]((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?</param></data></choice></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.duration"><data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="duration"/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.truthValue"><data type="boolean"/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.xTruthValue"><choice><data type="boolean"/><value>unknown</value><value>inapplicable</value></choice></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.language"><data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="language"/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.sex"><choice><value>0</value><value>1</value><value>2</value><value>9</value></choice></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.namespace"><data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="anyURI"/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.outputMeasurement"><data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="token"><rng:param name="pattern">[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)</rng:param></data></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.pattern"><data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="token"/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.pointer"><data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="anyURI"/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.pointers"><list><oneOrMore><ref name="data.pointer"/></oneOrMore></list></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.code"><data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="anyURI"/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.enumerated"><data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="token"/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.key"><data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="string"/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.word"><data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="token"><rng:param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</rng:param></data></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.names"><list><oneOrMore><ref name="data.name"/></oneOrMore></list></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.words"><list><oneOrMore><ref name="data.word"/></oneOrMore></list></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="data.name"><data xmlns:rng="http://relaxng.org/ns/structure/1.0" type="Name"/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.bodyPart.div"><group><ref name="div"/><zeroOrMore><choice><ref name="div"/><ref name="divGen"/><group><ref name="model.global"/></group></choice></zeroOrMore></group></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.bodyPart.div0"><group><ref name="div0"/><zeroOrMore><choice><ref name="div0"/><ref name="divGen"/><group><ref name="model.global"/></group></choice></zeroOrMore></group></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.bodyPart.div1"><group><ref name="div1"/><zeroOrMore><choice><ref name="div1"/><ref name="divGen"/><group><ref name="model.global"/></group></choice></zeroOrMore></group></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.bodyPart.pre"><zeroOrMore><ref name="divGen"/><zeroOrMore><ref name="model.global"/></zeroOrMore></zeroOrMore></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.bodyPart.main"><group><group><ref name="macro.bodyPart.pre"/></group><choice><group><ref name="macro.bodyPart.div"/></group><group><ref name="macro.bodyPart.div0"/></group><group><ref name="macro.bodyPart.div1"/></group></choice></group></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.component"><ref xmlns:rng="http://relaxng.org/ns/structure/1.0" name="model.common"/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.componentSeq"><zeroOrMore><choice><group><ref name="macro.component"/></group><group><ref name="model.global"/></group></choice></zeroOrMore></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.paraContent"><zeroOrMore><choice><text/><ref name="model.gLike"/><ref name="model.phrase"/><ref name="model.inter"/><ref name="model.global"/></choice></zeroOrMore></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.phraseSeq"><zeroOrMore><choice><text/><ref name="model.gLike"/><ref name="model.phrase"/><ref name="model.global"/></choice></zeroOrMore></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.specialPara"><zeroOrMore><choice><text/><ref name="model.gLike"/><ref name="model.phrase"/><ref name="model.inter"/><ref name="model.divPart"/><ref name="model.global"/></choice></zeroOrMore></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.xtext"><zeroOrMore><choice><text/><ref name="model.gLike"/></choice></zeroOrMore></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.fileDescPart"><group><ref name="titleStmt"/><optional><ref name="editionStmt"/></optional><optional><ref name="extent"/></optional><ref name="publicationStmt"/><optional><ref name="seriesStmt"/></optional><optional><ref name="notesStmt"/></optional></group></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.glossSeq"><group><optional><ref name="altIdent"/></optional><zeroOrMore><ref name="equiv"/></zeroOrMore><zeroOrMore><ref name="gloss"/></zeroOrMore><zeroOrMore><ref name="desc"/></zeroOrMore></group></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.ascribed.attributes"><ref name="att.ascribed.attribute.who"/><empty/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.ascribed.attribute.who"><optional><attribute name="who"><a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the person, or group of
	people, to whom the element content is ascribed.</a:documentation><ref name="data.pointers"/></attribute></optional></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.authorialIntervention.attributes"><ref name="att.authorialIntervention.attribute.hand"/><ref name="att.authorialIntervention.attribute.status"/><ref name="att.authorialIntervention.attribute.type"/><empty/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.authorialIntervention.attribute.hand"><optional><attribute name="hand"><a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">signifies the hand of the agent which made the addition or
      performed the deletion.</a:documentation><ref name="data.pointer"/></attribute></optional></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.authorialIntervention.attribute.status"><optional><attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" name="status" a:defaultValue="unremarkable"><a:documentation>may be used to indicate faulty deletions, e.g. strikeouts
      which include too much or too little text, or erroneous
      additions, e.g., an insertion which duplicates some of the text
      already present.</a:documentation><ref name="data.enumerated"/></attribute></optional></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.authorialIntervention.attribute.type"><optional><attribute name="type"><a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the type of addition or deletion using any convenient typology.</a:documentation><ref name="data.enumerated"/></attribute></optional></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.attributes"><ref name="att.datable.attribute.notBefore"/><ref name="att.datable.attribute.notAfter"/><empty/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.attribute.notBefore"><optional><attribute name="notBefore"><a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the earliest possible date for the event in
	standard form, e.g. yyyy-mm-dd.</a:documentation><ref name="data.temporal"/></attribute></optional></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.attribute.notAfter"><optional><attribute name="notAfter"><a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the latest possible date for the event in
	standard form, e.g. yyyy-mm-dd.</a:documentation><ref name="data.temporal"/></attribute></optional></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datePart.attributes"><ref name="att.datePart.attribute.value"/><ref name="att.datePart.attribute.type"/><ref name="att.datePart.attribute.full"/><empty/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datePart.attribute.value"><optional><attribute name="value"><a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the value of a date or time in a standard form.</a:documentation><choice><ref name="data.temporal"/><ref name="data.duration"/></choice></attribute></optional></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datePart.attribute.type"><optional><attribute name="type"><a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes the element in some sense, using any convenient
 classification scheme or typology.</a:documentation><ref name="data.word"/></attribute></optional></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datePart.attribute.full"><optional><attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" name="full" a:defaultValue="yes"><a:documentation>indicates whether the date element is given in full, as
		an abbreviation or simply as an initial</a:documentation><choice><value>yes</value><a:documentation>(the temporal expression is spelled out in full.) </a:documentation><value>abb</value><a:documentation>(the temporal expression is given in an abbreviated form.) </a:documentation><value>init</value><a:documentation>(the temporal expression is abbreviated using the initial characters.) </a:documentation></choice></attribute></optional></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.declarable.attributes"><ref name="att.declarable.attribute.default"/><empty/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.declarable.attribute.default"><optional><attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" name="default" a:defaultValue="false"><a:documentation>indicates whether or not this element is selected by default when
its parent is selected.</a:documentation><choice><value>true</value><a:documentation>(This element is selected if its parent is selected) </a:documentation><value>false</value><a:documentation>(This element can only be selected explicitly, unless it is the
only one of its kind, in which case it is selected if its parent is selected.) </a:documentation></choice></attribute></optional></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.declaring.attributes"><ref name="att.declaring.attribute.decls"/><empty/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.declaring.attribute.decls"><optional><attribute name="decls"><a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies one or more declarable elements within the
header, which are understood to apply to the element bearing this
attribute and its content.</a:documentation><ref name="data.pointers"/></attribute></optional></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.divLike.attributes"><ref name="att.divLike.attribute.type"/><ref name="att.divLike.attribute.org"/><ref name="att.divLike.attribute.sample"/><ref name="att.divLike.attribute.part"/><empty/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.divLike.attribute.type"><optional><attribute name="type"><a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a name conventionally used for this level of
		subdivision, e.g. act, volume, book,
		section, canto, etc.</a:documentation><ref name="data.enumerated"/></attribute></optional></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="att.divLike.attribute.org"><optional><attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" name="org" a:defaultValue="uniform"><a:documentation>specifies how the content of the division is organized.</a:documentation><choice><value>composite</value><a:documentation>(composite content: i.e. no claim is made about the
		  sequence in which the immediate contents of this division

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -