Dab tsi yog qhov txawv ntawm XML cov ntaub ntawv thiab cov ntaub ntawv sib txheeb?
Dab tsi yog qhov txawv ntawm XML cov ntaub ntawv thiab cov ntaub ntawv sib txheeb?

Video: Dab tsi yog qhov txawv ntawm XML cov ntaub ntawv thiab cov ntaub ntawv sib txheeb?

Video: Dab tsi yog qhov txawv ntawm XML cov ntaub ntawv thiab cov ntaub ntawv sib txheeb?
Video: Leng Yang - Yog Vim Dab Tsi (Official Full Song | Nkauj Tawm Tshiab) 2020/05/24 2024, Hlis ntuj nqeg
Anonim

Major qhov sib txawv ntawm cov ntaub ntawv XML thiab cov ntaub ntawv sib txheeb

Ib XML document muaj cov ntaub ntawv hais txog kev sib raug zoo ntawm cov ntaub ntawv cov khoom rau ib leeg hauv daim ntawv ntawm hierarchy. Nrog rau kev sib raug zoo qauv, tib hom kev sib raug zoo uas tuaj yeem txhais tau yog niam txiv lub rooj thiab kev sib raug zoo ntawm lub rooj.

Yog li ntawd, XML thiab databases ua haujlwm ua ke li cas?

Cov ntaub ntawv-centric databases khaws cov ntaub ntawv cais los ntawm cov XML schema, feem ntau tsuas yog hloov cov ntsiab lus qub rau hauv cov rooj sib txheeb. Cov khoom no raug hu ua XML -enabled databases . Yog ib XML Cov ntaub ntawv xav tau, cov ntaub ntawv khaws cia hauv cov rooj sib txheeb tuaj yeem nug thiab ib qho XML tsim cov ntaub ntawv.

Tsis tas li ntawd, XML puas tuaj yeem siv los ua cov ntaub ntawv? XML - Cov ntaub ntawv . XML Database yog siv khaws cov ntaub ntawv ntau heev hauv lub XML hom ntawv. Raws li cov siv ntawm XML yog nce nyob rau hauv txhua daim teb, nws yuav tsum muaj ib tug ruaj ntseg qhov chaw khaws cov XML cov ntaub ntawv. Cov ntaub ntawv khaws cia hauv lub database tau yuav queried siv XQuery, serialized, thiab exported rau hauv ib hom ntawv uas xav tau.

Ib tug kuj yuav nug, yog XML sai dua SQL?

SQL ntawv yog cov ntaub ntawv tabular zoo - cov ntaub ntawv uas yooj yim haum rau hauv kab & kab. XML yog qhov zoo rau cov ntaub ntawv hierarchical - cov ntaub ntawv uas muaj ntau theem ntawm ntau qhov sib txawv. SQL ntawv yog qhov zoo rau kev khaws cia & tshawb nrhiav. XML yog qhov zoo rau kev xa tawm & formatting.

Rdbms khaws cov ntaub ntawv XML li cas?

XML enabled databases feem ntau muab ib los yog ntau tshaj ntawm cov hauv qab no mus kom ze rau khaws XML nyob rau hauv cov qauv kev sib raug zoo li qub: XML yog khaws cia rau hauv CLOB (Cim cov khoom loj) XML yog 'shredded' rau hauv cov kab lus raws li Schema. XML yog khaws cia hauv ib haiv neeg XML Hom raws li tau hais los ntawm ISO Standard 9075-

Pom zoo: