📄 source.xml
字号:
<!-- generated by run.py --><!DOCTYPE allExamples [ <!ENTITY eacute 'é'> <!ENTITY ugrave 'ù'> <!ENTITY agrave 'à'> <!ENTITY egrave 'è'> <!ENTITY ograve 'ò'> <!ENTITY icirc 'î'> <!ENTITY ecirc 'ê'> <!ENTITY ccedil 'ç'>]><allExamples><XTutorial id="1" next="2" previous="13">
<!-- <description lang='eng'>XML document must contain one or more elements.</description> -->
<description lang='dut'>Een XML document moet een of meerdere elementen bevatten.</description>
<demo type="wf">
<doc>
{tekst}Dit聽is聽een聽XML聽document{/tekst}
</doc>
<!-- <description lang='eng'>A well formed document with one element</description> -->
<description lang='dut'>Een goed gevormd document met een element</description></demo>
<demo type="wf">
<doc>
{tekst}Dit聽is聽een聽{doctype}XML聽document{/doctype}{/tekst}</doc>
<!-- <description lang='eng'>A well formed document with several elements</description> -->
<description lang='dut'>Een goed gevormd document met veschillende elementen</description></demo>
<demo type="notwf">
<doc>
<error>???</error> Dit聽is聽een聽XML聽document <error>???</error>
</doc>
<!-- <description lang='eng'>An XML document must contain at least one element</description> -->
<description lang='dut'>Een XML document moet minstens een element bevatten</description></demo>
</XTutorial><XTutorial id="10" next="11" previous="9">
<description lang='dut'>Commentaar kan overal in een document voorkomen buiten de andere markup. Een XML processor kan het mogelijk maken voor een toepassing om de tekst van het commentaar weer te geven maar dit hoeft niet. De tekenreeks "--"
(dubbele koppelingstekens) mag niet voorkomen binnen de commentaar.</description><demo type="wf">
<description lang='dut'>Commentaar kan alle tekens bevatten uitgesloten --</description><doc>
{!-- doc A --}
{voorbeeld}
{!-- <KOP> --}
{!-- tekens <&< --}
{/voorbeeld}
</doc>
</demo>
<demo type="notwf">
<description lang='dut'>Commentaar mag "--" niet bevatten</description><doc>
{voorbeeld}
{!-- A <error>--</error> B --}
{/voorbeeld}
</doc>
</demo>
</XTutorial><XTutorial id="11" next="12" previous="10">
<!-- <description lang='eng'>Processing instructions (PIs) allow documents to contain instructions for applications. </description> -->
<description lang='dut'>Proces aanwijzingen (PIs) staan documenten toe
om instructies te bevatten voor toepassingen.</description><demo type="wf">
<!-- <description lang='eng'>Processing instructions </description> -->
<description lang='dut'>PI</description>
<doc>
{voorbeeld}
{?perl lower-to-upper-case ?}
{?web-server add-header = "universiteit" ?}
{tekst}vscht{/tekst}
{/voorbeeld}
</doc>
</demo>
<demo type="notwf">
<!-- <description lang='eng'>Processing instruction must end with ?></description> -->
<description lang='dut'>Een proces aanwijzing moet eindigen met ?></description><doc>
{voorbeeld}
{?perl run <error>_</error>}
{/voorbeeld}
</doc>
</demo>
</XTutorial><XTutorial id="12" next="13" previous="11">
<!-- <description lang='eng'>CDATA sections are used to escape blocks of text containing characters which would otherwise be recognized as markup. CDATA sections begin with the string "{![CDATA[" and end with
the string "]]}". The string ']]}' must not occur inside CDATA section. </description> -->
<description lang='dut'>CDATA secties worden gebruikt als ontkoom delen voor tekst die tekens bevat die anders herkent zouden worden als markup.
CDATA secties beginnen met de tekenreeks "{![CDATA[" en eindigen met de
tekenreeks "]]}". De tekenreeks ']]}' mag niet voorkomen binnen de CDATA sectie.</description>
<demo type="wf">
<!-- <description lang='eng'>CDATA section </description> -->
<description lang='dut'>CDATA sectie</description>
<doc>
{voorbeeld}
{![CDATA[ {aaa}bb&cc<<<]]}
{/voorbeeld}
</doc>
</demo>
<demo type="notwf">
<!-- <description lang='eng'>CDATA section must not contain ']]}' </description> -->
<description lang='dut'>CDATA secties mogen ']]}' niet bevatten</description>
<doc>
{voorbeeld}
{![CDATA[ {aaa}bb ]]}<error>cc<<<]]}</error>
{/voorbeeld}
</doc>
</demo>
</XTutorial><XTutorial id="13" next="1" previous="12">
<!-- <description lang='eng'>XML documents may, and should, begin with an XML declaration which specifies the version of XML being used. </description> -->
<description lang='dut'>XML documenten mogen, en zouden moeten, beginnen met een XML verklaring die specifi毛erd welke versie van XML gebruikt wordt.</description><demo type="wf">
<!-- <description lang='eng'>XML version specification </description> -->
<description lang='dut'>XML versie bepaling</description>
<doc>
{?xml version="1.0"?}
{tekst}Dit聽document聽is聽conform聽met聽de聽XML聽1.0聽bepaling.{/tekst}
</doc>
</demo>
<demo type="wf">
<!-- <description lang='eng'>Encoding specification </description> -->
<description lang='dut'>Code bepaling</description>
<doc>
{?xml version="1.0" encoding="ISO-8859-2"?}
{tekst}Als聽de聽codering聽niet聽gegeven聽is聽dan聽wordt聽er聽uitgegaan聽van聽de聽UTF-8聽codering{/tekst}
</doc>
</demo>
</XTutorial><XTutorial id="2" next="3" previous="1">
<!-- <description lang='eng'>There is exactly one element, called the root, or document element, no part of which appears in the content of any other element.</description> -->
<description lang='dut'>Er is een specifiek element, dat root
of document wordt genoemd, dat geen deel uitmaakt van de inhoud of van een ander element.</description><demo type="wf">
<doc>
{boek}Dit聽is聽een聽boek{/boek}
</doc>
<!-- <description lang='eng'>{book} is root element </description> -->
<description lang='dut'>{boek} is het root element</description>
</demo>
<demo type="wf">
<doc>
{lijst}
{item}Item 1{/item}
{item}Item 2{/item}
{item}Item 3{/item}
{/lijst}
</doc>
<!-- <description lang='eng'>{list} is root element</description> -->
<description lang='dut'>{lijst} is het root element</description>
</demo>
<demo type="notwf">
<doc>
<error>???</error>
{item}Item 1{/item}
{item}Item 2{/item}
{item}Item 3{/item}
<error>???</error>
</doc>
<!-- <description lang='eng'>Only one root element is permitted</description> -->
<description lang='dut'>Er is maar een root element toegestaan</description>
</demo>
</XTutorial><XTutorial id="3" next="4" previous="2">
<!-- <description lang='eng'>The name in an element's end-tag must match the element type in the start-tag. Names are case-sensitive</description> -->
<description lang='dut'>De naam die gegeven wordt aan de eind-tag van een element moet overeen stemmen met het element type van de begin tag. De namen zijn hoofdletter gevoelig.</description><demo type="wf">
<doc>
{boek}Dit is een boek{/boek}
</doc>
<!-- <description lang='eng'>The end-tag {/book} matches the start-tag {book} </description> -->
<description lang='dut'>De eind-tag {/boek} is dezelfde als de start-tag {boek}</description></demo>
<demo type="wf">
<doc>
{lijst}
{item}auto{/item}
{ITEM}vliegtuig{/ITEM}
{Item}trein{/Item}
{/lijst}
</doc>
<!-- <description lang='eng'>This well formed document contains 4 different elements {list}, {item}, {ITEM} and {Item}</description> -->
<description lang='dut'>Dit goed gevormd document bevat 4 verschillende elementen, namelijk{lijst}, {item}, {ITEM} en {Item}</description>
</demo>
<demo type="notwf">
<doc>
{lijst}
{item}auto<error>{/itm}</error>
{item}vliegtuig<error>{/ITEM}</error>
{item}trein{/item}
{/lijst}
</doc>
<!-- description>{item} - {/itm} and {item} - {/ITEM} does not match</description -->
<description lang='dut'>{item} - {/itm} en {item} - {/ITEM} staan niet goed</description>
</demo>
</XTutorial><XTutorial id="4" next="5" previous="3">
<!-- <description lang='eng'>If the start-tag is in the content of another element, the end-tag is in the content of the same element. More simply stated, the elements, delimited by start- and end-tags, nest properly within each other. </description> -->
<description lang='dut'>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -