4 Txoj hauv kev qhib XML Cov Ntaub Ntawv

Cov txheej txheem:

4 Txoj hauv kev qhib XML Cov Ntaub Ntawv
4 Txoj hauv kev qhib XML Cov Ntaub Ntawv

Video: 4 Txoj hauv kev qhib XML Cov Ntaub Ntawv

Video: 4 Txoj hauv kev qhib XML Cov Ntaub Ntawv
Video: Qhia xov tooj kom hu tau zoo 100% 2024, Kaum ib hlis
Anonim

Tsis muaj lwm txoj haujlwm, XML (Extensible Markup Language) cov ntaub ntawv tsis ua dab tsi. Cov ntaub ntawv XML feem ntau siv los ua cov ntaub ntawv khaws cia rau ntau yam haujlwm. Yog li ntawd, koj tuaj yeem qhib, kho, thiab tsim XML cov ntaub ntawv nrog txhua cov ntawv sau. Txawm hais tias txawv los ntawm HTML, XML muaj qhov zoo sib xws nrog cov lus ntawm qhov chaw tsim. XML yog hom lus rau khaws cov ntaub ntawv, thaum HTML siv los tso saib cov ntaub ntawv. HTML siv cov cim npe uas paub zoo, xws li

los yog

, thaum tus neeg siv tuaj yeem siv cov cim npe hauv XML, raws li xav tau.

Kauj ruam

Txoj Kev 1 ntawm 4: Siv Tus Sau Cov Ntawv

Qhib XML Kauj Ruam 1
Qhib XML Kauj Ruam 1

Kauj Ruam 1. Nrhiav cov ntawv XML uas koj xav qhib

Cov ntaub ntawv XML tuaj yeem qhib ib yam li cov ntawv nyeem ib txwm muaj. Yog li ntawd, cov ntawv tuaj yeem nyeem los ntawm ib tus kws sau ntawv.

Qhib XML Kauj Ruam 2
Qhib XML Kauj Ruam 2

Kauj Ruam 2. Txoj nyem rau XML cov ntawv, tom qab ntawd nyem "Qhib Nrog. "Ib daim ntawv teev cov haujlwm uas tuaj yeem qhib cov ntaub ntawv XML yuav tshwm sim.

Qhib XML Kauj Ruam 3
Qhib XML Kauj Ruam 3

Kauj Ruam 3. Xaiv "Notepad" (Windows) lossis "TextEdit" (Mac)

Ob qho tib si yog lub khoos phis tawj siv lub khoos phis tawj hloov kho cov ntawv, thiab feem ntau yuav tshwm sim hauv cov npe.

  • Yog tias koj tsis pom ob txoj haujlwm saum toj no, koj yuav tsum qhib lawv tus kheej. Notepad yog nyob rau hauv %SystemRoot %\ system32 / notepad.exe phau ntawv teev npe, thiab TextEdit tuaj yeem pom nyob hauv Cov Ntawv Teev Npe.
  • Koj kuj tseem tuaj yeem siv tus lej hloov kho qib siab, xws li Notepad ++ lossis TextMate. Ob qhov kev pab cuam cim cov syntax hauv cov ntawv, thiab tuaj yeem pab koj ua qhov kev hloov kho siab dua. Txawm li cas los xij, koj tseem tuaj yeem saib tag nrho cov ntaub ntawv hauv XML cov ntaub ntawv nrog cov ntawv nyeem yooj yim.
Qhib XML Kauj Ruam 4
Qhib XML Kauj Ruam 4

Kauj Ruam 4. Thaum cov ntaub ntawv XML qhib, xyuam xim rau cov ntawv uas tshwm ntawm qhov screen

Qhov nyuaj ntawm XML cov ntaub ntawv yuav nyob ntawm qhov program uas tsim nws. Siv cov ntawv cim npe txhawm rau nrhiav cov ntaub ntawv koj xav tau. Feem ntau, cov ntawv lo yooj yim txaus kom nkag siab yog li koj yuav tuaj yeem nrhiav cov ntaub ntawv yam tsis muaj teeb meem.

  • Nyob rau sab saud ntawm cov ntawv, koj feem ntau yuav pom cov ntawv hauv qab no:. Cov ntawv sau qhia tias cov ntsiab lus hauv cov ntawv yog hauv XML hom.
  • XML siv cov cim tshwj xeeb los khaws cov ntaub ntawv. Txhua lub cim npe tau tsim los ntawm txoj haujlwm uas siv cov ntaub ntawv, yog li XML tsis lees paub cov lus sib xyaw. Piv txwv li, qee cov ntaub ntawv XML tuaj yeem siv lossis lossis cim npe khaws cov ntaub ntawv qub.
  • Koj tuaj yeem pom cov cim hauv sab hauv. Qhov xwm txheej no hu ua tsob ntoo tag. Piv txwv li, hauv cov cim npe, koj tuaj yeem pom cov cim zoo li thiab.

Txoj Kev 2 ntawm 4: Siv Web Browser

Qhib XML Kauj Ruam 5
Qhib XML Kauj Ruam 5

Kauj Ruam 1. Nrhiav cov ntawv XML uas koj xav qhib

XML cov ntaub ntawv tuaj yeem qhib zoo ib yam li cov ntawv nyeem ib txwm, tab sis koj tuaj yeem qhib lawv los ntawm lub vev xaib. Lub vev xaib yuav nkag rau cov ntawv, tseem tso cai rau koj qhib thiab kaw qee ntu hauv cov ntoo cim npe kom nws yooj yim dua rau koj nyeem cov ntawv.

Qhib XML Kauj Ruam 2
Qhib XML Kauj Ruam 2

Kauj Ruam 2. Txoj cai-nias rau XML cov ntawv, tom qab ntawd nyem "Qhib Nrog. "Ib daim ntawv teev cov haujlwm uas tuaj yeem qhib cov ntaub ntawv XML yuav tshwm sim.

Qhib XML Kauj Ruam 7
Qhib XML Kauj Ruam 7

Kauj Ruam 3. Xaiv lub vev xaib los ntawm cov npe uas tshwm

Koj tuaj yeem qhib cov ntaub ntawv XML hauv txhua lub browser. Feem ntau, koj tuaj yeem yooj yim xaiv koj lub vev xaib los ntawm cov npe ntawm cov haujlwm uas muaj, tab sis yog tias tsis yog, xauj mus rau cov npe uas koj tau teeb tsa koj lub vev xaib.

Qhib XML Kauj Ruam 8
Qhib XML Kauj Ruam 8

Kauj Ruam 4. Nyeem cov ntawv XML nrog browser

Tag nrho cov ntsiab lus ntawm XML cov ntaub ntawv yuav tshwm nyob rau hauv koj tus browser, nkag mus raws li. Yog li ntawd, koj yuav tuaj yeem ua daim ntawv qhia cov ntaub ntawv yooj yim dua.

Qhib XML Kauj Ruam 9
Qhib XML Kauj Ruam 9

Kauj Ruam 5. Qhib lossis kaw ntu XML ntawv kom yooj yim rau koj nyeem cov ntawv

Ib qho laj thawj yog vim li cas nws raug pom zoo tias koj siv lub vev xaib qhib XML cov ntaub ntawv yog vim lub vev xaib tso cai rau koj los tswj cov tsos ntawm cov ntawv. Nyem rau xub lossis +/- khawm hauv ib ntu ntawm cov ntawv kom qhib lossis kaw ntu ntawd.

Txoj Kev 3 ntawm 4: Siv Excel

Qhib XML Kauj Ruam 10
Qhib XML Kauj Ruam 10

Kauj Ruam 1. Qhib Excel

Feem ntau, Excel yuav tsis tshwm nyob rau hauv cov npe ntawm cov kev qhia pom zoo rau qhib cov ntaub ntawv XML. Yog li ntawd, txhawm rau qhib cov ntaub ntawv XML, nws raug nquahu kom koj qhib Excel ua ntej.

Excel tuaj yeem hloov cov ntaub ntawv XML rau cov ntxhuav, ua kom yooj yim rau koj kom pom kev ua cov ntaub ntawv

Qhib XML Kauj Ruam 11
Qhib XML Kauj Ruam 11

Kauj Ruam 2. Nyem Cov Ntaub Ntawv, thiab xaiv Qhib. Cov ntawv qhia zaub mov rau qhib cov ntawv yuav tshwm.

Qhib XML Kauj Ruam 12
Qhib XML Kauj Ruam 12

Kauj Ruam 3. Nyem rau Browse khawm kom xaiv cov ntawv koj xav qhib

Qhib XML Kauj Ruam 13
Qhib XML Kauj Ruam 13

Kauj Ruam 4. Qhib cov ntaub ntawv XML hauv computer

Tom qab nyem Xauj, koj feem ntau tuaj yeem xaiv cov ntawv tam sim ntawd. Yog tias koj tsis tuaj yeem pom cov ntaub ntawv XML, nyem Hom, tom qab ntawd xaiv XML Cov Ntaub Ntawv.

Qhib XML Kauj Ruam 14
Qhib XML Kauj Ruam 14

Kauj Ruam 5. Xaiv Raws Li XML cov lus xaiv. Tom qab txhaj qhov kev xaiv, cov ntaub ntawv XML yuav raug hloov pauv mus rau hauv lub rooj Excel.

Feem ntau, koj yuav tau txais lus ceeb toom tias XML cov ntaub ntawv tsis sib xws nrog cov phiaj xwm. Nyem OK los tsim cov phiaj xwm raws li cov qauv ntaub ntawv

Qhib XML Kauj Ruam 15
Qhib XML Kauj Ruam 15

Kauj Ruam 6. Nyeem cov ntawv XML

Cov ntaub ntawv yuav raug teeb tsa hauv cov ntxhuav, raws li cov qauv txheej txheem. Koj tuaj yeem siv Sort thiab Lim cov yam ntxwv hauv Excel los teeb tsa lub ntsej muag ntawm lub rooj.

Excel yuav muaj teeb meem saib cov ntxhuav thaum qhib cov ntaub ntawv XML nyuaj. Yog tias koj cov ntaub ntawv XML muaj ntau cov ntoo ntoo, txiav txim siab siv XML nyeem ntawv

Txoj Kev 4 ntawm 4: Siv XML Reader

Qhib XML Kauj Ruam 16
Qhib XML Kauj Ruam 16

Kauj Ruam 1. Rub tawm XML qhov program nyeem

Yog tias koj qhib XML cov ntaub ntawv nquag, koj yuav xav tau XML nyeem lossis hloov kho kom yooj yim rau koj. Koj tuaj yeem siv ntau yam XML nyeem ntawv, ob leeg pub dawb thiab them nyiaj. Ib ntawm cov pub dawb, nrov, thiab qhib qhov XML nyeem yog XML Explorer, uas koj tuaj yeem rub tawm los ntawm (xmlexplorer.codeplex.com).

Koj tuaj yeem siv XML hloov kho/nyeem ntawv sib txawv rau cov kev xav tau sib txawv. Yog tias koj xav tsim ntau cov ntaub ntawv XML, koj yuav xav siv tus kws tshaj lij XML editor. Qhov kev zov me nyuam tso cai rau koj los tsim cov ntaub ntawv, thiab sib koom tes thaum tsim lawv

Qhib XML Kauj Ruam 17
Qhib XML Kauj Ruam 17

Kauj Ruam 2. Qhib XML cov ntaub ntawv hauv XML nyeem ntawv/tus khoos phis tawj

Qee qhov XML cov haujlwm yuav koom nrog lawv tus kheej nrog cov ntaub ntawv XML kom koj tuaj yeem nyem ob zaug ntawm cov ntawv kom qhib nws. Txwv tsis pub, txoj nyem rau XML cov ntaub ntawv thiab xaiv Qhib Nrog. Tom qab ntawd, xaiv qhov program koj nyuam qhuav tau teeb tsa.

Qhib XML Kauj Ruam 18
Qhib XML Kauj Ruam 18

Kauj Ruam 3. Nyeem XML cov ntawv

Cov kev pab cuam xws li XML Explorer tso cai rau koj qhib thiab kaw ntu ntawm XML, nrog rau kos cim kab lus ntawm cov ntawv. Cov khoos phis tawj siab dua kuj tseem tuaj yeem muab kho lub luag haujlwm kom koj tuaj yeem tsim cov ntawv nkag tshiab hauv XML cov ntaub ntawv.

Pom zoo: