1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
3 | <X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'> |
4 | <head> |
5 | <meta name='title' content='TextExamples.x3d'/> |
6 | <meta name='description' content='Show different escape-character text examples for embedded quotation marks.'/> |
7 | <meta name='creator' content='Don Brutzman'/> |
8 | <meta name='created' content='7 April 2001'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name=' warning ' content=' Note that X3D Canonicalization (C14N) will scrub alternate XML character representations, be careful to check original encoding into version control. '/> |
11 | <meta name=' warning ' content=' Usually this source document needs to be inspected and edited using a plain-text editor in order to see the differences in these XML-equivalent text representations. '/> |
12 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/development/TextExamples.x3d'/> |
13 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
14 | <meta name='license' content='../license.html'/> |
15 | </head> |
16 | <Scene> |
17 | <WorldInfo title='TextExamples.x3d'/> |
18 | <Transform translation='0 2 0'> |
19 | <Shape> |
20 | <Text string='"Compare special character escaping"'> |
21 |
<!-- FontStyle
testFontStyle is a DEF node that has 2 USE nodes: USE_1, USE_2 --> <FontStyle DEF='testFontStyle' justify='"MIDDLE" "MIDDLE"' size='0.8'/> |
22 | </Text> |
23 |
<!-- Appearance
LightBlueAppearance is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
<Appearance DEF='LightBlueAppearance'> |
24 | <Material diffuseColor='0.1 0.7 0.7'/> |
25 | </Appearance> |
26 | </Shape> |
27 | </Transform> |
28 | <Transform translation='-3 0 0'> |
29 | <Shape> |
30 | <Text string='"I don't think so" "" "he said \"Hi\""'> |
31 | <FontStyle USE='testFontStyle'/> |
32 | </Text> |
33 | <Appearance USE='LightBlueAppearance'/> |
34 | </Shape> |
35 | </Transform> |
36 | <Transform translation='3 0 0'> |
37 | <Shape> |
38 | <Text string='"I don't think so" "" "he said \"Hi\""'> |
39 | <FontStyle USE='testFontStyle'/> |
40 | </Text> |
41 | <Appearance USE='LightBlueAppearance'/> |
42 | </Shape> |
43 | </Transform> |
44 | </Scene> |
45 | </X3D> |
<!--
Color legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->