source5.xml

来自「XML tutorial」· XML 代码 · 共 44 行

XML
44
字号
<XTutorial id="5" next="6" previous="4">
<!-- <description lang='eng'>The end of every element that begins with a start-tag must be marked by an end-tag containing a name that echoes the element's type as given in the start-tag. The text between the start-tag and end-tag is called the element's content. An element without content can take a special form: {name/} . The slash before } substitutes the end tag.  </description> -->
<description lang='dut'>Het einde van elk element dat begint met een start-tag moet gedefiniëerd worden door een eind-tag die een naam bevat die verwijst naar het element type bepaald in de start-tag. De tekst tussen de start-tag  en eind-tag wordt de elements inhoud genoemd. Een element zonder inhoud  kan weergegeven worden door: {naam/} . De slash voor } vervangt      de eind-tag.</description><demo type="wf">
<!-- <description lang='eng'>Each element has either the end tag or takes the special form. There is no difference between {AAA}{/AAA} and {AAA/} in XML.</description> -->
<description lang='dut'>Elk element heeft een eind-tag ofwel, als het leeg is, kan het een speciale vorm aannemen. Er is geen verschil tussen {AAA}{/AAA} en 
{AAA/} voor een XML processor</description><doc>
{lijstmettags}
	{AAA}{/AAA}
	{BBB}{/BBB}
	{CCC/}
	{DDD/}
{/lijstmettags}
</doc>

</demo>

<demo type="notwf">
<!-- <description lang='eng'>Missing slash is a very common error</description> -->
<description lang='dut'>Een vergeten slash is een veel voorkomende fout</description><doc>
{beschrijving}Er zijn  {kleur}gele<error>{kleur}</error> en {kleur}rode{/kleur} appels.{/beschrijving}</doc>

</demo>
</XTutorial>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?