Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Symbian OSϽâÎöXMLÎĵµµÄһЩ·½·¨

2009-10-27 22:44×ÊÁÏÀ´Ô´ÓÚÍøÂç,ËÄÖÖ·½Ê½,´ó¼Ò¿ÉÒÔ×Ô¼º³¢ÊÔÏÂ.
=========11111=================
tinyXML
www.grinninglizard.com/tinyxml/
=========22222================================
symbian s60 µÚÈý°æÖ®ºó£¬ÒѾ­ÌṩÁ˽âÎöxmlµÄϵͳapi,²ÉÓõÄÊÇSAX·½Ê½¡£
XML parsing in Symbian OS v9.x À´Ô´Ä¿Â¼£º
http://wiki.forum.nokia.com/index.php/XML_parsing_in_Symbian_OS_v9.x
Use the XML Parser in OS 9.x ::::::
http://blogs.forum.nokia.com/index.php?op=ViewArticle&blogId=1412&articleId=475
===>
http://www.forum.nokia.com/Technical_Library/FNTL/fn_technical_library.htm
TSS000286 - Using the XML parser in S60 ====>
http://wiki.forum.nokia.com/index.php/TSS000286_-_Using_the_XML_parser_in_S60
and search for CParser or ========>
http://wiki.forum.nokia.com/index.php/TSS000286_-_Using_the_XML_parser_in_S60
How to parse XML file using CParser class=====>
http://wiki.forum.nokia.com/index.php/How_to_parse_XML_file_using_CParser_class
Symbianѧϰ±Ê¼Ç(15) - ½âÎöXMLÎļþ(ÉÏ)
http://blog.csdn.net/sharetop/archive/2008/04/23/2318420.aspx
Symbian xml½âÎö ÓÃSYMIBAN×Ô´øµÄCParser½âÎöÆ÷¼´¿ÉÒÔÂú×ãʹÓá£==>
http://blog.sina.com.cn/s/blog_5ccfd2d50100cpg3.html~type=v5_one&label=rela_nextarticle
http://www.devdiv.net/thread-12999-1-1.html
SymbianOS¹ØÓÚXML½âÎö
ÐüÉͽð¶î: 10 ¼¼Êõ·Ö
NOKIA ÂÛ̳ÉÏÓиö XML½âÎöµÄÀý×Ó
ÏÂÔØÒÔºó µ÷ÊÔûÓÐÎÊÌâ
¿ÉÊÇÔËÐÐÒÔºóËü²»½âÎö Àý×ÓÖеÄXMLÎļþ
Ö»ÄÜ°ÑXML´úÂëÏÖʵ³öÀ´¡£
Çë´ó¼Ò¶à¶àÖ¸µ¼£¬ÁíÍâÓÐûÓкÃÒ»µãµÄXML½âÎöµÄÀý×Ó£¬ÈÃÎҲο¼Ò»ÏÂ
лл´ó¼ÒÁË¡£
×î¼Ñ´ð°¸ jinzhili
Â¥Ö÷£¬ÎÒ¸øÄãµã˼·°É¡£
Ëü²»ÊDz»½âÎö£¬ËüÊǽ«½âÎö¹ýµÄÖµÏÔʾÔÚ½çÃæÉÏÁË¡£
Äã¶à¿´Ò»Ï´úÂë¾ÍÄÜÃ÷°×¡£
Ò²¿ÉÒÔ×Ô¼º¸ÄһϰÑÿ¸ö²»Í¬µÄtag¶ÔÓ¦µÄֵȡ³öÀ´·Åµ½Ò»¸öÊý×éÖС£È¡³öºóµÄÖµµÄËæϲ»¶ÔõôÓö¼ÐС£
´ó¸ÅµÄ˼·ÊÇÕâÑùµÄ£º
Õë¶Ôÿһ¸ötag¶¨ÒåÏà¶ÔÓ¦µÄTBoolÖµ£¬ÔÚOnStartElementLÖнøÐбȽϣ¬À´ÉèÖÃÕâЩ±äÁ¿ÎªETrue¡£
ÔÚOnContentLÖÐÅжÏÄãµÄTBool±äÁ¿µ±ÎªETrueʱȡ³ö¶ÔÓ¦µÄÖµ£¬±£´æµ½ÁÙʱ±äÁ¿ÀïÃæ¡£ÔÚOnEndElementLÀïÒ²Òª½øÐбȽϣ¬µ±ÏàÓ¦µÄTBool±äÁ¿ÉèΪEFalse¡£ÔÚÕâ¸ö¹ý³ÌÖÐÒª°ÑÈ¡³öÀ´µÄÖµ±£´æµ½Äã


Ïà¹ØÎĵµ£º

asp.net Êä³öXMLÎļþ

private void WriteXML()
{
StringBuilder sb = new StringBuilder();
sb.Append("<?xml version=\"1.0\" encoding=\"UTF-8\" ?> ");
sb.Append(" <!-- ");
sb.Append("<content>");
sb.Append(& ......

JAVA²Ù×÷XMLµÄÍêÕûÀý×Ó——W3C DOMƪ

ÕâÊÇÒ»¸öÓÃJAVA W3C DOM ½øÐÐXML²Ù×÷µÄÀý×Ó£¬°üº¬Á˲éѯ¡¢Ôö¼Ó¡¢Ð޸ġ¢É¾³ý¡¢±£´æµÄ»ù±¾²Ù×÷¡£½ÏÍêÕûµÄÃèÊöÁËÒ»¸öXMLµÄÕû¸ö²Ù×÷Á÷³Ì¡£ÊʺϸÕÈëÃÅJAVA XML²Ù×÷µÄÅóÓѲο¼ºÍѧϰ¡£
¼ÙÉèÓÐXMLÎļþ£ºtest1.xml
<?xml version="1.0" encoding="UTF-8"?>
<books>
 <book>
  <name>¹þÀï²¨Ì ......

XMLµÄһЩ¼òµ¥ÎÊÌ⣡

£¨µÚ1Õ£©
(P1~3)1£®ÓÃ×Ô¼ºµÄÓïÑÔ¶ÔSGML¡¢HTMLºÍXML×÷¼òµ¥½éÉܺͶԱȡ£
SGML  ÊÇÒ»ÖÖ²ÉÓñê¼ÇÀ´ÃèÊöÎĵµÊý¾ÝµÄͨÓÃÓïÑÔ£¬SGML¶¨ÒåÁË»ù±¾µÄÓï·¨ºÃ£¬Í¬Ê±Ò²ÔÊÐíÓû§½¨Á¢×Ô¼ºµÄÔªËرê¼Ç¡£
HTML ²ÉÓÃÁ˺ÜСһ²¿·ÖSGMLµÄ±ê¼Ç£¬Í¬Ê±HTML²ÉÓõÄÊǹ̶¨±ê¼ÇÒ²²»ÐèÒª°üº¬DTD¡£
XML ͬHTMLÒ»Ñù£¬¶¼Êdzö×ÔÓÚSGML±ê׼ͨÓñê¼ÇÓï ......

XML Schema nillable=¡±true¡± vs minOccurs=¡±0¡å

³ö´¦£ºhttp://www.dimuthu.org/blog/2008/08/18/xml-schema-nillabletrue-vs-minoccurs0/
¡¾Ç°ÑÔ¡¿Ò»¸öÔÂÇ°Ñо¿¹ýnillable="true"ºÍ vs minOccurs="0"µÄÇø·Ö£¬Ã»ÓÐÏëµ½°¡£¬½ñÌì¾Í¼Ç²»µÃÁË£¬¿´À´ÕæÊǺüÇÐÔ²»ÈçÀñÊÍ·°¡£¬¿öÇÒÎÒ»¹Ã´µÄºÃ¼ÇÐÔ¡£¡£¡£¡£
¡¾×ܽ᡿ӢÎÄÒ»ÑÛ¿´²»³ö½áÂÛ£¬ËµµãººÓïÖ±½ÓЩ£¬±ð˵ÎÒÍÁ¹þ~
nillable=" ......

Myeclipse Æô¶¯ xml ×Ô¶¯ÅäÖÃ

µÚÒ»²½:½«XML±à¼­Æ÷ÉèÖÃĬÈÏΪMyeclipse edit 
window__Preferences__General____Editors_____File Associations
ÕÒµ½*.xml,Ñ¡ÔñMyeclipse Xml editor,µãdefault
µÚ¶þ²½:ÅäÖÃdtd»òÕßxsdÎļþ
Window → Preferences... → MyEclipse → Files & Editors → ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ