🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.xml
Article #257

����XML������

#257
From: <Test/>
Date: Fri, 06 Nov 2009 16:16
21 lines
3483 bytes
1��xml����Щ��������?�����ʲô?
����DOM,SAX,STAX��
       DOM:��������ļ�ʱ�������½��ķdz������������������DOM�����ṹ����ɵģ����ֽṹռ�õ��ڴ�϶࣬����DOM�����ڽ����ļ�֮ǰ������ĵ�װ���ڴ�,�ʺ϶�XML�������ʡ�
      
      SAX:������DOM,SAX���¼����͵�XML������ʽ����˳���ȡXML�ļ�������Ҫһ��ȫ��װ������ļ������������ļ���ͷ���ĵ�������߱�ǩ��ͷ���ǩ����ʱ����ᴥ��һ���¼����û�ͨ������ص��¼���д�봦�����������XML�ļ����ʺ϶�XML��˳����ʡ�   

      STAX:Streaming API for XML (StAX): StAX ���ص�������ϡ�ʵ���ϣ�StAX ����������������Ӧ�ó����ܹ��� XML ��Ϊһ���¼��������?�� XML ��Ϊһ���¼���������뷨������ӱ����ʵ�� SAX �Ѿ�������ˣ�������֮ͬ������ StAX ����Ӧ�ó���������Щ�¼�����������������ṩ�ڽ���������ʱ�ӽ������н����¼��Ĵ������

2��������Ŀ���õ���xml��������Щ����?���ʵ�ֵ�?
���õ�����ݴ�����Ϣ���������档������ݽ���ƽ̨ʱ�����������Դ�������װ��XML�ļ���Ȼ��XML�ļ�ѹ�������ܺ�ͨ�����紫�͸�����ߣ����ս������ѹ������ͬXML�ļ��л�ԭ�����Ϣ���д��?�����������ʱ������XML���Ժܷ���Ľ��У�����ĸ������ò��������XML�ļ��С�

3��XML�ĵ������м�����ʽ������֮���кα������
��a: ������ʽ dtd schema��
      b: �������:schema������xml�ģ����Ա�XML����������(��Ҳ�Ǵ�DTD�Ϸ�չschema�ĸ�Ŀ��)��
 ---------------------------------------------------
������: http://huagenli.javaeye.com/blog/510022
--
Happy XMLing


�� ��Դ:��ˮľ���� newsmth.net��[FROM: 114.249.212.*]
Technical Details
Message-ID: <4igeIc$9vS@newsmth.net>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsgate.cuhk.edu.hk!www.shinco.com!news.newsmth.net!NEWSMTH

Show Full Headers
Complete Article Headers
X-Google-Thread: f7ebf7e2af,30f02e5dfb8f45bc,start
X-Google-Attributes: gidf7ebf7e2af,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsgate.cuhk.edu.hk!www.shinco.com!news.newsmth.net!NEWSMTH
From: thinkhy@newsmth.net-SPAM.no (<Test/>)
Newsgroups: cn.bbs.comp.xml
Subject: ����XML������
Date: 06 Nov 2009 16:16:18 GMT
Organization: ˮľ����
Message-ID: <4igeIc$9vS@newsmth.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: XML/I/M.1257524102.10
Lines: 20