<cRefPattern>
<cRefPattern> (定義如何將權威參照轉換成URI。) 標明將權威參照轉換成URI的表示方法與取代模式。 2.3.5.3 Milestone Method 2.3.5 The Reference System Declaration 2.3.5.2 Search-and-Replace Method | |||||||||||||||||||||
組件 | header — 2 The TEI Header | ||||||||||||||||||||
屬性 |
| ||||||||||||||||||||
屬於 | refsDecl | ||||||||||||||||||||
可包含 | |||||||||||||||||||||
宣告 | element cRefPattern { att.global.attributes, attribute matchPattern { data.pattern }, attribute replacementPattern { text }, model.pLike* } | ||||||||||||||||||||
例子 | <cRefPattern matchPattern="([1-9A-Za-z]+)\s+([0-9]+):([0-9]+)" replacementPattern=" "/> | ||||||||||||||||||||
註 | The result of the substitution may be either an absolute or a
relative URI reference. In the latter case it is combined with the
value of xml:base in force at the place where the
cRef attribute occurs to form an absolute URI in the
usual manner as prescribed by XML Base. |