以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 DTD/XML Schema 』  (http://bbs.xml.org.cn/list.asp?boardid=23)
----  [求助]请教:有关DTD文件的编写  (http://bbs.xml.org.cn/dispbbs.asp?boardid=23&rootid=&id=12726)


--  作者:风灵冰雪
--  发布时间:12/12/2004 11:19:00 AM

--  [求助]请教:有关DTD文件的编写
小女子初涉XML,还不是很了解
想请教各位大虾,如何编写一个XML DTD for a transaction document
这个transaction就是一个公司里任意一个transaction,例如order什么的
请大家帮忙了,在此万分感谢
--  作者:wxb_nudt
--  发布时间:12/12/2004 6:17:00 PM

--  
把需求描述清楚大家才能帮你啊!
--  作者:风灵冰雪
--  发布时间:12/13/2004 7:24:00 PM

--  
是一家做皮包生意的公司,现在要provide an example of an XML DTD for a transaction document of your choice, submitted as a separate Notepad file
就是这样个
--  作者:wxb_nudt
--  发布时间:12/13/2004 9:58:00 PM

--  
汗!你认为你的描述清晰么?
--  作者:shy5214
--  发布时间:12/14/2004 3:06:00 PM

--  
强的!!

--  作者:fernando0813
--  发布时间:12/15/2004 10:10:00 AM

--  
我没猜错的话我和楼主是一个学院的。..汗.....
我现在就把casestudy发上来,大虾帮帮忙了
CASE STUDY – Baggage & Trunks Co Ltd

The Baggage & Trunks Co Ltd was established in 1903 and has established a strong national reputation for the production of luggage goods noteworthy for their strength and robustness. Early in the development of the company they established a market, which continues to enjoy an international reputation, for baggage specifically designed for scientific discovery voyages and overland travel suited to a wide variety of climatic conditions in China. However, recently this market has seen a steep decline as cheaper versions are produced by rival companies in other countries. In the 1970’s the company expanded their line of travel products to include a middle priced range aimed at young students travelling overseas. This line of goods has been and continues to be very successful. In the interests of continuing to fulfil the needs of an ever-changing marketplace the company needs flexible information systems designed to continue to build on their past success.

Background and History
The original records management system based on traditional paper filing systems including client records, sales records and accounting information is still in existence, retained in the interests of maintaining the legacy records of the company. The files are in a poor state of preservation, consisting of large hand written ledgers and manila folders filed in standalone filing cabinets, the indexing based on keyword and by year. The company position of Records Manager has not been filled since 1983 when a long serving company employee retired. Still housed in the basement of the company offices, this resource is no longer managed and is entirely unused.

From the end of 1993 the company began installing personal computers in each of the sections of the company, with the exception of Human Resources who continued to maintain a paper based filing system. Sections were responsible for the maintenance of their own records. In 1986 the company established a small information technology section, attached to the accounting department, consisting of one junior technical position and a senior technologist. The primary task of the new section was to maintain and upgrade the existing electronic accounting system.

In early 1992 the managing director of the company realised that the record keeping processes since the closure of the old record management section had deteriorated to the extent that he was very concerned that the company was in breach of legal requirements for the maintenance of company records. He instructed the technology section to begin looking at electronic document managements systems as a solution to allow the company to distribute, store and archive their documents and reports more efficiently. Two more members of staff were added to the technology section at the start of this project that turned out to be a complete failure. The technology section implemented a proprietary software solution which substantially failed to meet the business objectives of the company. It was finally abandoned a year after implementation, when management complained that they failed to understand exactly how the product worked and found the interface too difficult to use. The in-house training process was badly managed and few in the company were competent in the use of the system. In addition backup was a major problem with the software and extra time and money had to be spent on manually backing up vital records.


--  作者:orange0328
--  发布时间:12/16/2004 10:32:00 PM

--  
你们都很强的!!!!!!!
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Family[
 <!ELEMENT Family (Member+,Facility*)>
 <!ELEMENT Member EMPTY>
 <!ELEMENT Facility EMPTY>

 <!ATTLIST Member
  Name CDATA  #REQUIRED
  Sex (Male|Female)  #REQUIRED
  Age CDATA  #REQUIRED
  Hobby CDATA  #IMPLIED
 >

 <!ATTLIST Facility
  Category CDATA  #REQUIRED
  Quantity CDATA  #REQUIRED
  Comment CDATA  #IMPLIED
 >
]>
<Family>
 <Member Name="Shannon" Sex="Male" Age="25"/>
 <Member Name="Billy" Sex="Male" Age="38" Hobby="Music"/>
 <Facility Category="TV" Quantity="3"/>
</Family>


老师上课的题目,启发很大的!!!!!!
爱恩的人啊~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
171.875ms