blob: 306ee766b8fac9365e8496796446351c903da922 (
plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="521.51471"
height="158.39999"
viewBox="0 0 1000 300"
version="1.0"
id="svg2255"
sodipodi:version="0.32"
inkscape:version="0.92.0 r15304"
sodipodi:docname="tref.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<metadata
id="metadata2271">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
inkscape:window-height="744"
inkscape:window-width="1280"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
guidetolerance="10.0"
gridtolerance="10.0"
objecttolerance="10.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:zoom="2.1974452"
inkscape:cx="260.75735"
inkscape:cy="79.199997"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:current-layer="svg2255"
width="488.92px"
height="148.5px"
showgrid="false"
inkscape:window-maximized="0" />
<defs
id="defs2257">
<text
id="ReferencedText">Referenced character data</text>
</defs>
<text
x="40.090099"
y="42.696518"
font-size="45"
id="text2262"
style="font-size:29.54101944px;fill:#0000ff">Inline character data</text>
<text
x="38.907303"
y="84.391068"
font-size="45"
id="text2264"
style="font-size:29.54101944px;fill:#ff0000">
<tref
xlink:href="#ReferencedText"
id="tref2266" />
</text>
<text
id="text2217"
font-size="45"
y="126.08561"
x="38.907303"
style="font-size:29.54101944px;fill:#a05a2c">This text is stripped from the meta data: <tref
id="tref2219"
xlink:href="#metadata2271"
style="fill:#a05a2c" />
</text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:21.00694847px;font-family:'Aldine401 BT';fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="34.670681"
y="169.49898"
id="text2252"><tspan
sodipodi:role="line"
id="tspan2254"
x="34.670681"
y="169.49898">The tref element allows you to refer to character data from any other svg element.</tspan><tspan
sodipodi:role="line"
x="34.670681"
y="195.75766"
id="tspan2256">The tref will act just like a tspan for this cloned text, and the same properties that</tspan><tspan
sodipodi:role="line"
x="34.670681"
y="222.01634"
id="tspan2258">can be applied to a tspan can be applied to a tref. As such, regular tspans and text</tspan><tspan
sodipodi:role="line"
x="34.670681"
y="248.27504"
id="tspan2260">nodes can be contained in the same text object as a tref. The cloned character data</tspan><tspan
sodipodi:role="line"
x="34.670681"
y="274.53372"
id="tspan2262">may not be edited even though the rest of the text can be.</tspan></text>
</svg>
|