HTML£¬XHTMLºÍXMLµÄÇø±ð
£¨1£©XML
XMLÊÇThe Extensible Markup Language(¿ÉÀ©Õ¹±êʶÓïÑÔ)µÄ¼òд¡£Ä¿Ç°ÍƼö×ñѵÄÊÇW3CÓÚ2000Äê10ÔÂ6ÈÕ·¢²¼µÄXML1.0£¬²Î¿¼£¨www.w3.org/TR/2000/REC-XML-20001006£©¡£ºÍHTMLÒ»Ñù£¬XMLͬÑùÀ´Ô´ÓÚSGML£¬µ«XMLÊÇÒ»ÖÖÄܶ¨ÒåÆäËûÓïÑÔµÄÓï¡£XML×î³õÉè¼ÆµÄÄ¿µÄÊÇÃÖ²¹HTMLµÄ²»×㣬ÒÔÇ¿´óµÄÀ©Õ¹ÐÔÂú×ãÍøÂçÐÅÏ¢·¢²¼µÄÐèÒª£¬ºóÀ´Öð½¥ÓÃÓÚÍøÂçÊý¾ÝµÄת»»ºÍÃèÊö¡£¹ØÓÚXMLµÄºÃ´¦ºÍ¼¼Êõ¹æ·¶Ï¸½ÚÕâÀï¾Í²»¶à˵ÁË£¬ÍøÉÏÓкܶà×ÊÁÏ£¬Ò²ÓкܶàÊé¼®¿ÉÒԲο¼¡£
£¨2£©XHTML
XHTMLÊÇThe Extensible HyperText Markup Language¿ÉÀ©Õ¹±êʶÓïÑÔµÄËõд¡£Ä¿Ç°ÍƼö×ñѵÄÊÇW3CÓÚ2000Äê1ÔÂ26ÈÕÍƼöXML1.0£¨²Î¿¼http://www.w3.org/TR/xhtml1£©¡£XMLËäÈ»Êý¾Ýת»»ÄÜÁ¦Ç¿´ó£¬ÍêÈ«¿ÉÒÔÌæ´úHTML£¬µ«Ãæ¶Ô³ÉǧÉÏÍòÒÑÓеÄÕ¾µã£¬Ö±½Ó²ÉÓÃXML»¹ÎªÊ±¹ýÔç¡£Òò´Ë£¬ÎÒÃÇÔÚHTML4.0µÄ»ù´¡ÉÏ£¬ÓÃXMLµÄ¹æÔò¶ÔÆä½øÐÐÀ©Õ¹£¬µÃµ½ÁËXHTML¡£¼òµ¥µÄ˵£¬½¨Á¢XHTMLµÄÄ¿µÄ¾ÍÊÇʵÏÖHTMLÏòXMLµÄ¹ý¶É
Ïà¹ØÎĵµ£º
ÔÚ
SQLServer2005
ÖжÔ
XML
µÄ´¦Àí¹¦ÄÜÏÔÈ»ÔöÇ¿Á˺ܶ࣬ÌṩÁË
query(),value(),exist(),modify(),nodes()
µÈº¯Êý¡£
¹ØÓÚ
xml
£¬ÄÑÒÔÀí½âµÄ²»ÊÇ
SQLServer
ÌṩµÄº¯Êý£¬¶øÊǶÔ
xml
±¾ÉíµÄÀí½â£¬¿´Ëƺܼòµ¥µÄÎļþ¸ñʽ£¬´¦ÀíÆðÀ´È´ÊǷdz£À§Äѵġ£±¾ÎÄÖ»Êdzõ̽һ϶øÒÑ¡£
Ïê¼û
SQLServer
Áª»ú°ïÖú£º
Ö÷Ìâ
˵ ......
ÕªÒª£ºÎÒÃÇÃèÊöÒ»¸ö¼òµ¥µÄÒµÎñϵͳµÄÓÃÀý£¬È»ºó½éÉܲ»Í¬µÄʵÏÖ¼¼Êõ¼°Æä±È½Ï¡£ÎÒûÓÐ×ö¹ýʵ¼ÊµÄ»ùÓÚSW¼¼ÊõµÄÐÅϢϵͳ£¬Òò´Ë±¾ÎÄÖ»ÊÇһЩ²ÂÏëÐԵĶ«
Î÷£¬Ï£ÍûÅ×שÒýÓñ£¬Äܵõ½´ó¼ÒµÄÖ¸½Ì,Ò²»¶Ó´ó¼Ò²¹³ä£¬Ð»Ð»£¡
×¢ÒâÎÒÃÇÌÖÂ۵ĶÔÏóÊÇ´«Í³µÄMISϵͳ£¬ÈçͼÊé²éѯϵͳ£¬Ñ§Éú¹ÜÀíϵͳ֮ÀàµÄ¡£
ÓÃÀý£º Óû§ÔÚ²éѯ½çÃæÑ¡Ôñ ......
Îĵµ¼°´úÂëÏÂÔØ£ºhttp://www.dingos.cn/index.php?topic=1899.0
½éÉÜ
µ±²Ëµ¥ÏîÊǾ³£¸Ä±äʱ£¬´ÓXMLÎĵµÖд´½¨TreeView²Åµ±ÊǷdz£ÓÐÓõġ£ÀýÈ磬ʹÓÃXML×÷ΪÊý¾Ý¿â´æ´¢¼Ç¼¡£
ÕâÀïÓиö¼òµ¥Ê¾Àý¡£ÒÔ·À»ìÏýÕâ¸öÀý×ӱȽϼòµ¥¡£
±³¾°
¶ÔXML¡¢TreeView¿Ø¼þµÄÓ¦Óã¬ÔÚVisual StudioÖÐÓÐÖúÓÚÀí½âÕâЩ²½Öè¡£
ʹÓôúÂë
×¢Ò⣠......
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.*;
import java.io.*;
import java.nio.CharBuffer;
public class RegTest
{
public static void main(String[] args)
{
//¶¨ÒåÒ»¸öÎÄÕÂÁÐ ......
---xml²ð·ÖÒÔ²»¶¨¿Õ¸ñΪ·Ö¸î·ûºÅµÄ×Ö·û´®
--²âÊÔÊý¾Ý
if object_id('[tb]') is not null drop table [tb]
create table [tb]([a] varchar(200))
go
insert [tb]
select 'aaaa bbbb cccc dddd'
insert [tb]
select 'eeeeee ffff hhhh   ......