3.2 Appendix 2: Cup tree XML parsing examples
附录2:杯赛结构xml解析事例
Brief Explanation
简要说明
We have the following definitions in the cup tree roster:
我们在杯赛结构文档中有下列定义
CupRound: E.g. 1/8 final, Quarter finals, Semi final etc. In 1/8 final there are 16 teams (8 matches),
quarter final 8 teams (4 matches) etc.
杯赛轮次: 例如:1/8决赛,1/4决赛,半决赛等 在1/8决赛中有16只球队(8场比赛),4分之1决赛有8只球队 (4场比赛)等
CupBlock: Basically the "graphical" representation of one or more matches between 2 teams. There
may be more than one match between teams in a round, but the physical representation of the match
in the cup tree is always one element, called a block.
杯赛块:从表面上展示出来的意思是2个队之前有1场或多场比赛。也可能是在1轮当中的球队存在多于一场比赛,但实际上在cup tree 当中都是以一个元素展示,被称做块.
BlockParticipant: One of the teams in a CupBlock. Represents "static" information about the team,
and also e.g. if it is the winning team of a cupblock, and goes through to next round.
块的参与者: 在CupBlock中的一个球队,代表着球队“固定位置”的信息,例如:如果在cupblock中胜利的球队,并且通过了下
CupRound order="n": The CupRound order attribute; from 1 !n (where n is the number of currently
visible rounds in the cup tree), indicates the order of the rounds. The first visible round in the cup roster
is order 1, and the last (final) is order n.
CupRound order="轮次序号": cupround 顺序属性; 从1 到 n (n是cup tree中的轮次),表示在所有轮次当中的顺序. 最先一轮顺序为 1 并且最后一轮为n.
CupBlock order="m": The CupBlock order attribute, from 1 !m, where m is the number of blocks
(teams / 2) in a given cup round. The order is from top to bottom.
CupBlock order="球队顺序":CupBlock 属性 ,从 1到 m ,m代表cup round 中球队在blocks中的顺序,(从以往数据看 1 为主队 2为客队,中例场队外),顺序从上到下。
CupBlock blockId="x": The blockId ranges from 1 !n in each round. This is just a unique identification of a block within a given round and cannot be directly used for visual representation.
CupBlock blockId="块的编号": 在第一个轮中 块的编号从 1到n,这仅仅是唯一的一个块标识在当前轮次中,不能直接用于展示
BlockParticipant sourceBlockId="y": The sourceBlockId for a BlockParticipant refers to from where
the BlockParticipant came from in the previous round (from which Block it belonged to). In a CupBlock,
each BlockParticipant came from different blocks in the previous CupRound. This can be used for
connecting blocks between rounds together, but cannot be directly used for visual representation. It can
be used as a fallback to where to place a cup block if e.g. the order information is missing.
BlockParticipant sourceBlockId="y":sourceBlockId是表示BlockParticipant 引用来自之前轮次(属与那一个块),在CupBlock中 每一个BlockParticipant 都是来自之前cupRound的不同的块. 这个可以被用来关联之前轮次之间的块,但是这个不能直接用于可视化的展示。这也可以被用于回查之前所在的cup block ,假如order 信息丢失
相关推荐
serializer.jar、xalan.jar、xercesImpl.jar和xml-apis.jar Provider org.apache.xalan.processor.Transforme
xml-apis.jar xml-apis.jar
websphere_plugin-cfg.xml文件内容解析.pdf
最高效的XML解析方式-----Simple 简化 XML 解析jar包simple-xml-2.7.1.rar
simple-xml-2.3.4.jar非常好用的序列化java类的工具类包
aspose-pdf-21.11.jar,无水印版,需要配合licens.xml一起使用,网上随意搜索一个license.xml即可
这是一个springmvc-config.xml文件,<?xml version="1.0" encoding="UTF-8"?> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:...
当项目报关于XML文件无法解析的错误, 将三个包拷贝到tomcat...Xerces是XML解析器,Xalan是格式化器,xml-apis实际上是JAXP。一般App Server都会带上,JDK1.4也包含了解析器,不过不是Xerces,是Crimson,效率比较差。
cxf jar xmlschema-core-2.0.jar
Xerces-J-tools.2.11.0-xml-schema-1.1-beta.zip为apache开源xml相关,可用于xml解析 Xerces是由Apache组织所推动的一项XML文档解析开源项目,它目前有多种语言版本包括JAVA、C++、PERL、COM等。[1] Xerces是一个...
jdom.jar、jsf-api.jar、jsf-impl.jar、jstl-1.2.jar、saxpath.jar、xalan.jar、xerces.jar、xml-apis.jar包
Error creating bean with name 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0' defined in ServletContext resource [/WEB-INF/springMVC-servlet.xml]: Initialization of bean failed;...
Gradle是一个基于JVM的构建工具,是一款通用灵活的构建工具,支持maven, Ivy仓库,支持传递性依赖管理,而不需要远程仓库或者是pom.xml和ivy.xml配置文件,基于Groovy,build脚本使用Groovy编写。 gradle-4.4-all....
GSDML-V2.32-Siemens-Sinamics_V90-20160711.xml
XML-Parser-2.41.tar.gz是飞鸽工具安装过程中依赖的项。
android解析xml文件的方式--PULL.pdf
batik-all-1.7.jar包含了batik-1.7.jar
解开后其中有两个包,仅操作XML文档的话把dom4j-1.6.1.jar加入工程就可以了,如果需要使用XPath的话还需要加入包jaxen-1.1-beta-7.jar.
只需要导入aspose-words-14.9.0-jdk16.jar 无需license.xml,直接去水印,文件内含示例代码(6行代码,doc转无码pdf就是这么简单)。亲测可用,有问题留言
how-to-read-a-local-xml-file-with-flex.pdf