Kev Siv Ntev Cov Lus Qhia (XML) yog tus qauv tsim los ntawm cov koom haum thoob ntiaj teb W3C rau kev tso cov nqi tsawg tsawg ntawm cov ntaub ntawv hauv cov ntawv. Cov ntaub ntawv nrog txuas xml feem ntau siv raws li cov ntaub ntawv los ntawm cov ntawv sau, tab sis qee zaus nws yuav tsim nyog los tso cov ntaub ntawv lawv muaj ncaj qha hauv nplooj ntawv browser tsis tas siv cov ntawv sau.
Cov Lus Qhia
Kauj ruam 1
Yog tias cov ntawv XML npaj los siv los ntawm pawg neeg siv tsawg (ntawm cov koom nrog lag luam, tsev network, lossis txawm nyob hauv tib lub computer), nws yuav zoo yog tias tsis tas yuav muaj kev ntsuas ntxiv. Qee qhov browser version - Mozilla Firefox, Internet Explorer - tuaj yeem tso tawm cov ntaub ntawv zoo li no hauv cov ntoo ntoo nrog cov nkees tau nthuav dav.
Kauj ruam 2
Lwm txoj kev yooj yim yog siv daim ntawv cais nrog CSS cov lus qhia piav qhia cov cai rau kev tawm tswv yim cov ntaub ntawv tawm ntawm cov ntaub ntawv XML. Txhawm rau siv nws, ua ntej npaj cov ntaub ntawv no - qhov no, cov ntawv txheeb tau kos raws li cov cai CSS ib txwm muaj rau cov nplooj HTML txheem. Tom qab ntawv xa cov stylesheet mus rau tus xaib site.
Kauj ruam 3
Qhib cov ntawv XML nyob hauv txhua cov ntawv nyeem kho, lossis qhov zoo dua yog tias koj muaj tus kws tshaj lij tshwj xeeb nrog syntax highlighting. Thaum pib ntawm tus lej, ntxiv lwm kab nrog qhov txuas mus rau qhov CSS CSS stylesheet rau daim ntawv no. Piv txwv li, yog tias cov cwj pwm tau muab tso rau hauv cov ntaub ntawv hu ua xmlStyles.css thiab tau khaws tseg rau hauv cov ntawv tais ceev tseg tib yam li cov ntawv XML, cov kab tso tawm yuav tsum zoo li no:
Kauj ruam 4
Txuag lub edited XML ntawv thiab qhov no yuav ua tiav txoj haujlwm.
Kauj ruam 5
Lwm txoj hauv kev los muab cov ntawv XML yog siv cov qauv Extensible Stylesheet Language (XSL) cov cai. Nws muaj ntau yam kev hloov pauv (XSLT, XSL-FO, XPath) nrog ntau lub hom phiaj. Siv cov qauv no, raws li txoj cai, tseem yuav tsum tau tsim cov ntaub ntawv cais nrog cov lus qhia piav qhia txog yuav ua li cas tso tawm cov ntaub ntawv XML. Qhov txuas txuas rau cov ntawv sau sab nraud no kuj tseem tso rau hauv qhov pib ntawm daim ntawv. Hauv nws daim ntawv yooj yim tshaj plaws, rau cov ntaub ntawv sab nraud npe hu ua xmlStyles.xsl nyob rau hauv cov npe tib yam nrog cov ntawv tseem ceeb, qhov txuas no yuav zoo li no:
Tau kawg, kev npaj cov ntaub ntawv no yuav tsum muaj kev paub txog cov lus sib xws - XSLT, XSL-FO, XPath.