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

ËÄÑÛ¿´ÊÀ½ç XMLÓï·¨


XML (EXtensible Markup Language)
XML is a
cross-platform, software and hardware independent tool for transmitting
information.
Prolog
XML
Declaration
Processing
Instructions
DOCTYPE
Declaration
Elements
Attributes
XML
Comments
CDATA
Sections
Character
and Entity References
XML
settings
XML processors
treat the character sequence Carriage Return-Line Feed (CRLF) like single CR or
LF characters. All are reported as a single LF character. Applications can save
documents using the appropriate line-ending convention.
Elements
XML documents must
contain one and only one root element
XML
Declaration
<?xml
version="1.0" encoding="UTF-8"?>
If used it must be the first line in the document and no other content or white space can precede it
Version
Declaration
The
version declaration is mandatory and the version number 1.0 is the latest
version currently
Encoding
Declaration
It
must contain a value representing an existing character encoding
Processing
Instructions
Processing
instructions do not have to follow much internal syntax, can include markup
characters without escaping them, and can appear anywhere in the document
outside of other markup. Processing instructions must begin with an identifier
called a target which is are case-sensitive.
Style Sheet
Processing Instructions
<?xml-stylesheet
type="type" href="uri" ?>
DOCTYPE
Declaration
<!DOCTYPE
rootElement PUBLIC "PublicIdentifier" "URIreference">
The
PublicIdentifier provides a separate identifier that some XML parsers can use to
reference the DTD in place of the URIreference. This is useful if the parser is
used on a system without a network connection or where that connection would
slow down processing significantly
XML
Comments
<!--
-->
Comments cannot be
nested
CDATA
Sections
<![CDATA[
]]>
Character
references do not work within CDATA sections.
CDATA


Ïà¹ØÎĵµ£º

´¦ÀíXMLƬ¶Î

±êÇ©£ºÊý¾Ý·ÃÎÊ     ADO.NET
    ´¦ÀíXMLƬ¶Î     ´¦ÀíƬ¶Îʱ£¬Ö»ÊÇ°ÑXElement£¨¶ø²»ÊÇXDocument£©µ±×÷¶¥¼¶XML¶ÔÏó¡£
    Ƭ¶ÎµÄΨһÏÞÖÆÊÇ£¬²»ÄÜÌí¼Ó±È½Ï½ÚµãÀàÐÍ£¬ÀýÈ磺XComme ......

xml

¡¡¡¡XML£¨Extensible Markup Language£©¼´¿ÉÀ©Õ¹±ê¼ÇÓïÑÔ£¬ËüÓëHTMLÒ»Ñù£¬¶¼ÊÇSGML(Standard Generalized Markup Language,±ê׼ͨÓñê¼ÇÓïÑÔ)¡£XmlÊÇInternet»·¾³Öпçƽ̨µÄ£¬ÒÀÀµÓÚÄÚÈݵļ¼Êõ£¬Êǵ±Ç°´¦Àí½á¹¹»¯ÎĵµÐÅÏ¢µÄÓÐÁ¦¹¤¾ß¡£À©Õ¹±ê¼ÇÓïÑÔXMLÊÇÒ»ÖÖ¼òµ¥µÄÊý¾Ý´æ´¢ÓïÑÔ£¬Ê¹ÓÃһϵÁмòµ¥µÄ±ê¼ÇÃèÊöÊý¾Ý£¬¶øÕâЩ±ê¼Ç¿É ......

ΪUrlRewriteµÄ¶à¸öXMLÅäÖÃÎļþµÄ¼ÓÔØÌṩģºýÆ¥Åä

 
ΪUrlRewriteµÄ¶à¸öXMLÅäÖÃÎļþµÄ¼ÓÔØÌṩģºýÆ¥Åä
 
@for&ever 2009-11-27
 
֮ǰдÁËһƪÎÄÕ£¬¡¶ÐÞ¸ÄUrlRewriterʹÆäÓɵ¥ÅäÖÃÎļþµ½Ö§³Ö¶àÅäÖÃÎļþ¡·£¬ÍøÖ·http://blog.csdn.net/forandever/archive/2009/08/07/4423808.aspx £¬¶Ô UrlRewriteµÄ´úÂë½øÐÐÁ˼òµ¥Ð޸ģ¬
ÎÄÕÂÖеÄÄܹ»Ö§³Ö¶à¸öÅäÖ ......

Linq xml Ê÷¼ÓÔØ×ܽá(1)

  ¾­³£»áÓõ½xmlÎļþ£¬ÄÚÈݼÓÔØ£¬ Èç¹ûʹÓÃlinq xmlÊ÷¼ÓÔØ£¬ÐèҪͨ¹ýXElementÀ࣬һÖÖ·½Ê½ÊÇÒÔ×Ö·û´®µÄÐÎʽ¼ÓÔØ£¬ÁíÍâÒ»ÖÖ·½Ê½ÊÇÒÔÎļþÐÎʽ¼ÓÔØ¡£         1.ÒÔ×Ö·û´®ÐÎʽ¼ÓÔØ¡£           ÔÚXElementÀàÖУ¬Í¨¹ý¾²Ì¬µÄParse()·½·¨ ......

javaÉú³Éxml¸ñʽÊý¾Ý

//»ñÈ¡Êý¾Ý¿âÊý¾Ý·µ»Ølist
public List queryAll(int fcateId) {
List list = new ArrayList();
String sql = "select * from g_Account where fCateID=? order by fCode";
Connection con = SqlHelp.getConn();//»ñµÃÁ¬½Ó£¬sqlhelp×Ô¼ºÐ´µÄ¹¤¾ßÀà
PreparedStatement pst = null;
ResultSet rs = null;
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ