⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 source5.xml

📁 XML tutorial
💻 XML
字号:
<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='cze'>Konec každého elementu, který začíná počátečním tagem musí být označen koncovým tagem, který nese stejné jméno jako tag počáteční. Text mezi počátečním a koncovým tagem se nazývá obsah elementu. Element, který nemá žádný obsah, může být uveden ve speciální formě: {jméno/}. Lomítko před } nahrazuje koncový tag.</description> -->
<description lang='chi'>所有以起始标签开始的元素都必须以与起始标签同名的结束标签作为结束, 在起始和结束标签中间的文本是元素的内容, 无内容的元素可以使用一种特殊的形式: {名字/} . 这里, } 之前的正斜线实际上代替了结束标签.</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='cze'>Každý element musí mít buďto koncový tag nebo musí být uveden ve speciální formě. Mezi zápisy {AAA}{/AAA} a {AAA/} není v XML žádný rozdíl.</description> -->
<description lang='chi'>元素要么有结束标签,要么采用上面所说的特殊形式, 在XML里, {AAA}{/AAA} 和 {AAA/} 并没有任何不同.</description>
<doc>
{listOfTags}
	{AAA}{/AAA}
	{BBB}{/BBB}
	{CCC/}
	{DDD/}
{/listOfTags}
</doc>

</demo>

<demo type="notwf">
<description lang='eng'>Missing slash is a very common error</description>
<!-- <description lang='cze'>Chybějící lomítko je velmi častá chyba.</description> -->
<description lang='chi'>忘记加上正斜线是经常可能出现的错误.</description>
<doc>
{description}
There are  {color}yellow<error>{color}</error> and {color}red{/color} apples.
{/description}
</doc>

</demo>
</XTutorial>

⌨️ 快捷键说明

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