XMLÌØÊâ×Ö·û
һЩ×Ö·ûÔÚ URL »ò XML ÎĵµÖÐʹÓÃʱÓÐÌØÊâµÄº¬Ò壬Òò´Ë±ØÐëÕë¶ÔÕâЩº¬Òå¶Ô×Ö·û×öÊʵ±±àÂëÒÔʹÆäÉúЧ¡£
URL ÖеÄÌØÊâ×Ö·û
ÔÚ URL ÉÏÖ´ÐеIJéѯÖУ¬ÌØÊâ×Ö·û±»Ö¸¶¨Îª %xx£¬ÆäÖÐ xx ÊÇ×Ö·ûµÄÊ®Áù½øÖÆÖµ¡£Ï±íÁгöÁËÕâЩÌØÊâ×Ö·û²¢ÃèÊöÁËËüÃǵĺ¬Òå¡£Óйظü¶àÐÅÏ¢£¬Çë²Î¼û http://www.faqs.org/rfcs/rfc1738.html ÖÐµÄ RFC1738 ¹æ·¶¡£
ÌØÊâ×Ö·û
ÌØÊ⺬Òå
Ê®Áù½øÖÆÖµ
+
±íʾ¿Õ¸ñ£¨ÔÚ URL Öв»ÄÜʹÓÿոñ£©¡£
%2B
/
·Ö¸ôĿ¼ºÍ×ÓĿ¼¡£
%2F
·Ö¸ôʵ¼ÊµÄ URL ºÍ²ÎÊý¡£
%3F
%
Ö¸¶¨ÌØÊâ×Ö·û¡£
%25
#
±íʾÊéÇ©¡£
%23
&
URL ÖÐÖ¸¶¨µÄ²ÎÊý¼äµÄ·Ö¸ô·û¡£
%26
ÀýÈ磬¿¼²ìÏÂÃæµÄ²éѯ£º
SELECT *
from Employees
WHERE EmployeeID=
ÒòΪ ×Ö·ûÔÚ URL ÖÐÓÐÌØÊ⺬Ò壨·Ö¸ô URL ºÍ´«µÝµÄ²ÎÊý£©£¬ËùÒÔÔÚ URL ÖÐÖ¸¶¨¸Ã²éѯʱ£¬¸Ã×Ö·û±»±àÂëΪ %3F¡£
ÏÂÁÐ URL ½«Ö´Ðиòéѯ¡£ÔÚ URL Öд«µÝ¸Ã²ÎÊýÖµ¡£
http://IISServer/nwindsql=SELECT * from Employees WHERE EmployeeID=%3F FOR
XML AUTO&root=root&EmployeeID=1
ä¯ÀÀÆ÷½« ÓÒ²àµÄËùÓÐÌØÊâ×Ö·û£¨Èç + ×Ö·û£©¶¼½øÐÐתÒ壨¼´£¬½« ÓÒ²àµÄ + ×Ö·ûת»»³É %20£©¡£
XML ÖеÄÌØÊâ×Ö·û
> ºÍ < ÕâÀà×Ö·ûÊÇXML ±ê¼Ç×Ö·û£¬ÔÚ XML ÖÐÓÐÌØÊâµÄº¬Òå¡£µ±ÔÚ SQL ²éѯ£¨»ò XPath ²éѯ£©ÖÐÖ¸¶¨ÕâЩ×Ö·ûʱ£¬
±ØÐë¶ÔËüÃǽøÐÐÊʵ±µÄ±àÂ루Ҳ³ÆΪʵÌå±àÂ룩¡£Ï±íÁгöÁËÕâЩÌØÊâ×Ö·û²¢ÃèÊöÁËËüÃǵĺ¬Òå¡£Óйظü¶àÐÅÏ¢£¬Çë²Î¼û
XML 1.0 ¹æ·¶ ÖÐµÄ XML 1.0 ¹æ·¶¡£
Ïà¹ØÎĵµ£º
antonypr | 14 April, 2007 00:05
A couple of weeks ago, I had a plan to write an article and example code of using XML parser in Symbian OS. It seems that another Forum Nokia Champion, Paul Todd had the same idea. He posted a nice article about XML parser in Symbian OS 9.x to Forum Nokia Blogs. It's ......
XML ÔªËØ
ÔªËØÃüÃû
XMLÔªËرØÐë×ñÊØÒÔϵÄÃüÃû¹æÔò£º
Ãû×Ö¿É°üº¬×Öĸ¡¢Êý×ÖÒÔ¼°ÆäËûµÄ×Ö·û
Ãû×Ö²»ÄÜÒÔÊý×Ö»òÕß±êµã·ûºÅ¿ªÊ¼
Ãû×Ö²»ÄÜÒÔ×Ö·û“xml”£¨»òÕßXML¡¢Xml£©¿ªÊ¼
Ãû×Ö²»ÄÜ°üº¬¿Õ¸ñ
µ±Äú“·¢Ã÷´´Ôì”ÔªËØÃû³Æʱ£¬ÇëÁôÒâ²¢×ñÑÏÂÃæµÄ¼òµ¥µÄ¹æÔò£º
Äú¿ÉÒÔʹÓóý±£Áô×ÖÍâµÄÈκÎÃû³Æ£ ......
.NET¶Á¡¢Ð´¡¢²é¡¢É¾¡¢¸ÄXMLÎļþ
Ò»¡¢
XML
¼ò½é
XML
¼´¿ÉÀ©Õ¹±ê¼ÇÓïÑÔ£¨
EXtensible Markup Language
£©£¬ÊÇÒ»ÖÖ±ê¼ÇÓïÑÔ£¬ºÜÀàËÆ
HTML
¡£
XML
µÄÉè¼Æ×ÚÖ¼ÊÇ´«ÊäÊý¾Ý£¬¶ø·ÇÏÔʾÊý¾Ý¡£
XML
±êǩûÓб»Ô¤¶¨Ò壬ÐèÒªÓû§¶¨Òå±êÇ©¡£
XML
±»Éè¼ÆΪ¾ßÓÐ×ÔÎÒÃèÊöÐÔ²¢·ûºÏ
W3C
µÄÍƼö± ......
°üλÖãºandroid.widget.TextView
XML Attributes
Attribute Name Related Method &n ......