<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.3.xsd '>
<head>
<!-- note quotes in comment and meta reference: "https://en.wikipedia.org/wiki/Hello,_World!_program" -->
<meta name='titlecontent='TextSpecialCharacters.x3d'/>
<meta name='descriptioncontent='Text node demonstration of quotation, apostrophe, ampersand and backslash characters using X3D MFString escaping for XML character entities.'/>
<meta name='creatorcontent='Don Brutzman'/>
<meta name='createdcontent='12 July 2008'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='infocontent='See screenshot figures and various encoding conversions to note that multiple equivalences in XML character representations lead to consistent results despite slight differences in source.'/>
<meta name='referencecontent='TextSpecialCharactersScreenshotXmlSource.png'/>
<meta name='referencecontent='TextSpecialCharactersScreenshotPrettyPrintHtml.png'/>
<meta name='referencecontent=' Character entity references in HTML 4, http://www.w3.org/TR/REC-html40/sgml/entities.html '/>
<meta name='referencecontent=' "https://en.wikipedia.org/wiki/Hello,_World!_program" '/>
<meta name='rightscontent='Copyright (c) Don Brutzman and Leonard Daly, 2008'/>
<meta name='identifiercontent=' https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter02GeometryPrimitives/TextSpecialCharacters.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

Index for DEF nodes : CenteredFontStyle, DefaultMaterial, DefaultText

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<WorldInfo title='TextSpecialCharacters.x3d'/>
<Background skyColor='1 1 1'/>
<Viewpoint description='Default Viewposition='0 0 15'/>
<Shape>
<!-- Empty string ""
means to skip a line -->

<!-- The ampersand escape characters are based on XML rules -->
<!-- apostrophe ' is &apos; and needs to be escaped in single-quote delimiters used for string='value' attribute -->
<!-- ampersand & is &amp; and needs to be escaped -->
<!-- quotation mark "
is &quot; and isn't needed if single-quote delimiters used for string='value' attribute -->

<!-- quotation mark "
character can be used within an X3D string value if escaped with backslash \ as \"
-->

<!-- backslash \ is used as escape character for "
(and itself) in X3D -->

<!-- character entities are listed in HTML specification and are good for any XML -->
<Text DEF='DefaultTextstring='"Character entity substitutions:" "empty string \"\" skips a line:" "" "apostrophe ' is &apos;" "ampersand & is &" "quote mark \" is &quot;" "backslash \\ is X3D escape character" "double backslash \\\\ is X3D backslash \\ character" "Pi Π is &#928; XML character entity"'>
<FontStyle DEF='CenteredFontStylejustify='"MIDDLE" "MIDDLE"'/>
</Text>
<Appearance>
<Material DEF='DefaultMaterialdiffuseColor='0.2 0.2 0.2'/>
</Appearance>
</Shape>
</Scene>
</X3D>
<!--

Index for DEF nodes : CenteredFontStyle, DefaultMaterial, DefaultText

Index for Viewpoint image : Viewpoint_1
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
-->

<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources and X3D Scene Authoring Hints. -->