请高手帮忙翻译,谢谢!(20分)

  • 主题发起人 香槟女孩
  • 开始时间

香槟女孩

Unregistered / Unconfirmed
GUEST, unregistred user!
All corporations' requirements differ from one another. Odds are the requirements I have for my tree are much different than the requirements you may have for yours. XML provides us with the perfect interface to describe our unique tree entities. The format you choose will have a direct effect on your XSL style sheets and your client operations. The format I have chosen is good for a recursive XSL style sheet, which satisfies the requirement within this article for a folder tree of unlimited depth.
The XMLdo
cument I have constructed contains a root element named "tree" that can contain only "entity" elements. The structure of your tree is implicitly defined here by nesting entity elements within the "contents" element of other entity elements. Below is a listing of all elements or attributes that belong to the "entity" element.
Within your individual trees, use the entity element to append specific data about each object in your tree. This could be the ID of a record in a database that the entity is representing. In upcoming articles I will demonstrate how to create an entity-specific context menu that is implemented by the addition of an "oncontextmenu" element to our entity element.
The following XML is the XML we will be using in this article. For illustration purposes I have created a static XMLdo
cument instead of implementing a dynamic XML database query.
 
F

FormatBrain

Unregistered / Unconfirmed
GUEST, unregistred user!
怎么没人回答呀?
我COPY下去看看,嘿嘿![8D]
初来贵宝地,请多关照!!!
以前只是看离线的包包,如今也来玩玩。早闻CJ大名,不想今日有幸在其地头灌灌水,怎一个“爽”字了得!
 

懒少爷

Unregistered / Unconfirmed
GUEST, unregistred user!
你是真正胡MM吗?怃媚的笑几下就会有GG来帮你啦...........
 

子文

Unregistered / Unconfirmed
GUEST, unregistred user!
我是刚来的,而且没怎么读过xml方面的书。想试一下,呵呵[:)]
第一段:
所有的公司都与其他公司的需求不同,这种不确定性就是指我的树结构的需求可能与你的就会有很大的不
同。XML给我们提供了非常好的接口来描述自己的树实体,你选择的格式将对你的XSL页的样式及你的客户
端的操作方法有直接的影响,如我选择的格式对搭建递归的XSL页样式很有好处,这种页样式就很适合本章提及的无限折叠的树结构的需求。

错了请不要骂我,否则我会很生气的,[:(!]
 
C

CJ

Unregistered / Unconfirmed
GUEST, unregistred user!
接受答案了.
 
顶部