source4.xml
来自「XML tutorial」· XML 代码 · 共 53 行
XML
53 行
<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='cze'>Pokud se počáteční tag nachází v obsahu nějakého elementu, koncový tag se musí nacházet ve stejném elementu. </description>
<demo type="wf">
<!-- <description lang='eng'>Elements are properly nested. </description> -->
<description lang='cze'>Elementy jsou správně vnořeny.</description>
<doc>
{Weight}
{number}12{/number}
{unit}grams{/unit}
{/Weight}
</doc>
</demo>
<demo type="wf">
<!-- <description lang='eng'>Another well formed document</description> -->
<description lang='cze'>Další správně formátovaný dokument</description>
<doc>
{book}
{chapter}
{title}Introduction{/title}
{/chapter}
{chapter}
{title}Story{/title}
{subChapter}
{title}Part 1{/title}
{/subChapter}
{subChapter}
{title}Part 2{/title}
{/subChapter}
{/chapter}
{chapter}
{title}Index{/title}
{/chapter}
{/book}
</doc>
</demo>
<demo type="notwf">
<!-- <description lang='eng'>Element {italic} is not properly nested</description> -->
<description lang='cze'>Element {italic} nesplňuje výše uvedenou podmínku</description>
<doc>
{text}
{bold}{italic}XML<error>{/bold}</error>{/italic}
{/text}
</doc>
</demo>
</XTutorial>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?