-
Notifications
You must be signed in to change notification settings - Fork 4
/
240.txt
44 lines (34 loc) · 2.35 KB
/
240.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[1] [[XSLT]] の幾つかの[[属性]]と、
[[表記結果要素]]の属性の値は、[DFN[属性値雛形]]
(attribute value template) として解釈されます。
<http://www.w3.org/TR/xslt#attribute-value-templates>
属性値雛形では、[[中括弧]] ([CODE(char)[[[{]]]],
[CODE(char)[[[}]]]]) が意味を持ちます。
- [CODE(XSLT)[{]]〜[CODE(XSLT)[}]] は、 [[XPath]] [[式]]として解釈されます。
- [CODE(XSLT)[{{]] は、 [CODE(char)[{]] として解釈されます。
- [CODE(XSLT)[}}]] は、 [CODE(char)[}]] として解釈されます。
- 以上以外で [CODE(XSLT)[}]] が出現したら[[誤り]]とします。
- [CODE(XSLT)[{]]〜[CODE(XSLT)[}]] は入れ子に出来ません。
XPath はあくまで XPath で評価されます。
- XPath 中の[[表記]]で登場する [CODE(char)[{]]
や [CODE(char)[}]] は、以上の影響を受けません。
そのままの意味で解釈されます。
[WEAK[(XPath はあくまで XPath で評価されます。)]]
なお、属性値雛形中の XPath 式は[[文字列]]とした結果が使われます。
つまり、暗黙の [CODE(XPathf)[[[string]]()]] 関数を使った結果が得られます。
[2]
[CITE@EN[XQuery 1.0: An XML Query Language]] ([CODE[2007-01-19 09:10:21 +09:00]] 版) <http://www.w3.org/TR/2007/REC-xquery-20070123/#id-constructors>
([[名無しさん]])
[3]
[CITE@EN[Content Selection for Device Independence (DISelect) 1.0]] ([CODE[2007-07-16 22:52:02 +09:00]] 版) <http://www.w3.org/TR/2007/CR-cselection-20070725/#sec-avt>
([[名無しさん]])
[4]
[CITE@en-US[Device Independent Authoring Language (DIAL)]] ([TIME[2007-07-23 17:26:29 +09:00]] 版) <http://www.w3.org/TR/2007/WD-dial-20070727/#content-inclusion-AVT>
[5] [CITE@en[SMIL 3.0 State]] ([TIME[2008-12-02 00:45:09 +09:00]] 版) <http://www.w3.org/TR/2008/REC-SMIL3-20081201/smil-state.html#StateNS-StateInterpolation>
[6] [CITE[X Sharp/Nodes]] ([TIME[2009-01-22 20:51:58 +09:00]] 版) <http://wiki.codeglide.com/X_Sharp/Nodes#Curly_brackets>
[7] [CITE@EN[XQuery 1.0: An XML Query Language (Second Edition)]]
( ([TIME[2011-01-05 01:29:08 +09:00]] 版))
<http://www.w3.org/TR/2010/REC-xquery-20101214/#id-attributes>
[8] [CITE@en[XProc 2.0: An XML Pipeline Language]]
([TIME[2016-07-21 14:35:49 +09:00]])
<https://www.w3.org/TR/2016/NOTE-xproc20-20160721/#attribute-value-templates>