<xref>

  

 外部參照

  參照有內部與外部參照。<ref>用在同一電子文件的內部參照。<xref>:用在AB二不同電子文件的外部參照。<xref> (extended reference)TEI pp1123 )目前所用的屬性 Attr)為doc,targets。

  設定A電子文的屬性Attr)為doc,例doc="T29n1558"T29n1558表「俱舍論」(T29n1558)。 連結B電子文件targets="0001a29:11- 0001b01:1"標誌。"0001a29:11- 0001b01:1"表第0001a29的第11字到第0001b01的第1字。

 

  瑜伽論研究案在唐循倫法師集《瑜伽論記》四十八卷(以下簡稱T1828)經文檔中,<xref doc="" targets=""></xref>標誌T1828引用之岀處連結的另一經文檔T1828與俱舍論

 

T1828

<p type="inline"><pp targets="T1579xp0250">量等三千大

<lb n="0328b25"/>千世界</pp><xref doc="T29n1558" targets="0057a08:1-0057a13:10"><cit><bibl><title type="lun">俱舍</title><biblScope></biblScope></bibl><quote><lg><l>安立器世間</l><l>風輪最

<lb n="0328b26"/>居下</l><l>其量廣無數</l><l>厚十六洛叉。</l><l>次上水輪深</l>

<lb n="0328b27"/><l>十一億二萬</l><l>下八洛叉水</l><l>餘凝結成金。</l><l>此水

<lb n="0328b28"/>金輪廣,</l><l>徑十二洛叉,</l><l>三千四百半,</l><l>周圍此三

<lb n="0328b29"/>倍。</l></lg></quote></cit></xref></p>

 

T29n1558

<lb n="0057a06"/><head>分別世品第三之四</head></juan>

<lb n="0057a07"/><p>如是已說有情世間。器世間今當說。頌曰</p>

<lb n="0057a08"/><lg><l>安立器世間</l><l>風輪最居下</l>

<lb n="0057a09"/><l>其量廣無數</l><l>厚十六[01]洛叉</l>

<lb n="0057a10"/><l>次上水輪深</l><l>十一億二萬</l>

<lb n="0057a11"/><l>下八洛叉水</l><l>餘凝結成金</l>

<lb n="0057a12"/><l>此水金輪廣</l><l>徑十二洛叉</l>

<lb n="0057a13"/><l>三千四百半</l><l>周圍此三倍</l></lg>

<lb n="0057a14"/><p>論曰。許此三千大千世界如是安立形量

 

 

 

DTD

<!ELEMENT xref 
  (#PCDATA | gaiji | abbr | address | date | name | num | rs | time 
  | add | corr | del | orig | reg | sic | unclear | emph | 
  foreign | gloss | hi | mentioned | soCalled | term | title 
  | ptr | ref | xptr | xref | s | seg | formula | bibl | biblFull 
  | cit | q | label | list | listBibl | note | figure | stage 
  | table | text | index | interp | interpGrp | lb | milestone 
  | pb | gap | anchor | ident | gi | code | kw | app )* >
<!ATTLIST xref 
  ana IDREFS #IMPLIED
  corresp IDREFS #IMPLIED
  next IDREF #IMPLIED
  prev IDREF #IMPLIED
  id ID #IMPLIED
  n CDATA #IMPLIED
  lang CDATA #IMPLIED
  rend CDATA #IMPLIED
  type CDATA #IMPLIED
  resp CDATA #IMPLIED
  crdate CDATA #IMPLIED
  targType NMTOKENS #IMPLIED
  targOrder (Y | N | U) "U"
  evaluate (all | one | none) #IMPLIED
  doc CDATA #IMPLIED
  from CDATA "ROOT"
  to CDATA "DITTO"
  url CDATA #IMPLIED
  TEIform CDATA "xref"
  targets CDATA #IMPLIED >
  <!-- added attribute url-->

 

參見See

Lijuan Guo整理2001/10/26 update