ex2_6.xml
来自「< xml网页开发实例开发>>一书的全部源代码和实例」· XML 代码 · 共 54 行
XML
54 行
<?xml version="1.0" encoding="GB2312"?>
<!--实例ex2_2.xml-->
<!--2002年世界杯中国队所在C组情况为例,下同-->
<CnGame>
<Opponent>
<!--ID="C1"表明该球队在C组的编号-->
<TeamName ID="C1">巴西</TeamName>
<Place>韩国西归埔</Place>
<Date>2002年6月8日</Date>
<Time>19:30</Time>
<Star>
<!--Number=""表明该球星的编号,下同-->
<StarName Number="9">罗纳尔多</StarName>
<StarName Number="5">里瓦尔多</StarName>
</Star>
<Coach>
<CoachName>斯科拉里</CoachName>
<Birthday>1948年9月11日</Birthday>
<Interesting>上网</Interesting>
</Coach>
</Opponent>
<Opponent>
<!--ID="C1"表明该球队在C组的编号-->
<TeamName ID="C2">土耳其</TeamName>
<Place>韩国汉城</Place>
<Date>2002年6月13日</Date>
<Time>14:30</Time>
<Star>
<StarName>哈坎.苏克</StarName>
<StarName>奥坎</StarName>
</Star>
<Coach>
<CoachName>吉内斯</CoachName>
<Birthday>19xx年x月x日</Birthday>
<Interesting>登山</Interesting>
</Coach>
</Opponent>
<Opponent>
<TeamName ID="C4">哥斯达黎加</TeamName>
<Place>韩国光州</Place>
<Date>2002年6月4日</Date>
<Time>14:30</Time>
<Star>
<StarName>万乔普</StarName>
<StarName>梅森</StarName>
</Star>
<Coach>
<CoachName>吉尔马瑞</CoachName>
<Birthday>1959年11月7日</Birthday>
<Interesting>音乐</Interesting>
</Coach>
</Opponent>
</CnGame>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?