Vim li cas ho tsis qhib "Lus" hauv Odnoklassniki

Xaj XML yog tsim los khaws cov ntaub ntawv uas tej zaum yuav pab tau rau hauv kev ua haujlwm ntawm qee cov kev pab cuam, cov websites, thiab kev txhawb nqa rau ntau yam lus. Tsim thiab qhib ib cov ntaub ntawv nrog hom ntawv no tsis yooj yim. Qhov no yuav ua tau txawm tias tsis muaj software tshwj xeeb rau hauv lub computer.

Me ntsis txog XML

XML nws tus kheej yog ib hom lus markup, me ntsis zoo ib yam li HTML, uas yog siv rau hauv cov nplooj ntawv web. Tab sis yog tom kawg yog siv rau kev qhia cov ntaub ntawv thiab nws cov cim markup, ces XML tso cai rau nws kom muaj kev cob qhia rau hauv ib txoj kev, uas ua rau hom lus no zoo ib yam li ib qho database uas tsis muaj DBMS.

Koj tuaj yeem tsim cov ntaub ntawv XML uas siv cov kev pabcuam tshwjxeeb losyog cov ntawv nyeem ua rau hauv Windows. Hom software siv los txiav txim qhov kev yoojyim ntawm kev sau ntawv thiab theem ntawm nws qhov kev ua haujlwm.

Method 1: Nrig txog kev pom Studio

Xwb, Microsoft lub chaws editor siv tau nws cov counterparts los ntawm lwm cov neeg tsim khoom. Qhov tseeb, Visual Studio yog ib qho kev paub ntau tshaj ntawm qhov niaj zaus Notepad. Cov cai tam sim no muaj qhov tshwj xeeb qhov tseem ceeb, cov teeb meem yog highlighted los yog kho tau, thiab tshwj xeeb templates twb twb tau loaded rau hauv qhov kev pab cuam, uas tso cai rau koj mus piv rau creation ntawm XML loj cov ntaub ntawv.

Yog xav pib, koj yuav tsum tsim ib daim ntawv. Nias ntawm yam khoom "Cov Ntaub Ntawv" nyob rau sab saum toj thiab ntawm qhov kev xaiv dropdown xaiv "Tsim ...". Ib daim ntawv teev npe nrog cov khoom "Cov Ntaub Ntawv".

  • Koj yuav tau pauv mus rau lub qhov rais nrog rau kev xaiv cov ntaub ntawv ntxiv, xaiv cov khoom raws li. "XML ntaub ntawv".
  • Nyob rau hauv cov ntaub ntawv tshiab tau tsim yuav yog thawj kab nrog lub encoding thiab version. Thawj version thiab encoding yog sau npe ntawm lub neej ntawd. UTF-8uas koj tuaj yeem hloov lub sijhawm twg los tau. Tom qab los tsim cov ntaub ntawv XML tag nrho, koj yuav tsum sau npe txhua yam uas yog nyob hauv kev qhia yav dhau los.

    Thaum tiav, xaiv sab saum toj vaj huam sib luag dua. "Cov Ntaub Ntawv", thiab muaj los ntawm txoj kev nco cov zaub mov "Tseg Tag Nrho".

    Txoj kev 2: Microsoft Excel

    Koj tuaj yeem tsim XML ntaub ntawv tsis muaj kev sau code, piv txwv li, siv cov niaj hnub versions of Microsoft Excel, uas tso cai rau koj kom txuag tau rooj nrog qhov kev txuas ntxiv no. Txawm li cas los xij, koj yuav tsum to taub tias qhov no koj tuaj yeem tsim tsis muaj dab tsi ntau dua li ib lub rooj.

    Qhov no yog qhov tsim nyog rau cov neeg uas tsis xav los yog tsis paub yuav ua li cas nrog txoj cai. Txawm li cas los, qhov no, tus neeg siv yuav raug tej teeb meem thaum sau tau cov ntaub ntawv hauv XML hom ntawv. Hmoov tsis, koj tuaj yeem ua haujlwm ntawm kev hloov ib lub rooj sab nraud rau XML tsuas yog nyob rau hauv feem ntau tsis ntev los no ntawm MS Excel. Ua kom tau li no, siv cov kev qhia ua kauj ruam nram qab:

    1. Sau rau hauv lub rooj nrog txhua cov ntsiab lus.
    2. Nias lub khawm "Cov Ntaub Ntawv"uas nyob rau hauv daim ntawv qhia zaub mov saum toj kawg nkaus.
    3. Lub qhov rais tshwj xeeb yuav qhib qhov chaw koj yuav tsum nias rau "Txuag Raws Li ...". Cov khoom no tuaj yeem pom muaj nyob rau sab laug.
    4. Qhia kom meej rau qhov chaw koj xav khaws cov ntaub ntawv. Daim nplaub tshev qhia nyob hauv nruab nrab ntawm qhov screen.
    5. Tam sim no koj yuav tsum qhia lub npe ntawm cov ntaub ntawv, thiab hauv seem "Cov Ntaub Ntawv Siv" xaiv los ntawm dropdown cov zaub mov
      "Cov ntaub ntawv XML".
    6. Nias lub khawm "Txuag".

    Method 3: Notepad

    Txawm tias ib txwm yog ib qho zoo rau kev ua haujlwm nrog XML. Notepadtxawm li cas los xij, tus neeg siv uas tsis paub nrog cov syntax ntawm hom lus yuav tsum tsis yooj yim, vim nws yog qhov tsim nyog yuav tau sau ntau yam lus thiab cim npe hauv nws. Cov txheej txheem yuav yooj yim dua thiab ntau yam ntxiv tsim tshwj xeeb rau kev kho cov cai, piv txwv, hauv Microsoft Visual Studio. Lawv muaj qhov tshwj xeeb lossis qhov tseem ceeb thiab cov cuab yeej siv, uas ua kom yooj yim rau kev ua hauj lwm ntawm ib tug neeg uas tsis paub txog cov syntax ntawm hom lus no.

    Hom no tsis tas yuav tsum download tau txhua yam, vim nws twb ua tau rau hauv qhov system. Notepad. Cia sim sim ua kom yooj yim XML cov lus raws li cov kev qhia no:

    1. Tsim ib phau ntawv dawb nrog qhov kev txuas ntxiv Txt. Koj tuaj yeem xaa nws qhov chaw. Qhib nws.
    2. Pib sau thawj cov lus txib hauv nws. Ua ntej koj yuav tsum teev tag nrho cov ntaub ntawv encoding thiab qhia lub XML version, qhov no yog ua los ntawm cov lus txib nram qab no:

      Thawj tus nqi yog qhov version, nws tsis yog yuav tsum hloov nws, thiab tus nqi thib ob yog qhov kev tshaj tawm. Nws raug nquahu kom siv cov ntawv qhia. UTF-8, raws li feem ntau cov kev zov me nyuam thiab cov neeg ua hauj lwm ua hauj lwm nrog nws kom raug. Txawm li cas los xij, nws hloov tau mus rau lwm yam, tsuas yog sau npe lub npe yam.

    3. Tsim thawj lub npe hauv koj cov ntaub ntawv los ntawm kev sau ib lossisthiab kaw nws txoj kev ntawd.
    4. Hauv daim ntawv no koj tuaj yeem sau tau qee cov ntsiab lus. Tsim ib lossisthiab muab nws lub npe, piv txwv li, "Ivan Ivanov." Cov kab tiav lawm yuav tsum zoo li no:

    5. Sab hauvTam sim no nws yog tau mus sau npe ntau ntxiv tsis, nyob rau hauv rooj plaub no nws yog cov ntaub ntawv hais txog ib tug tej Ivan Ivanov. Cia sau nws lub hnub nyoog thiab txoj hauj lwm. Nws yuav zoo li no:

      25
      Muaj tseeb

    6. Yog tias koj ua raws li cov lus qhia, koj yuav tsum tau txais cov cai tib yam li hauv qab no. Thaum ua tiav cov hauj lwm hauv tshuab raj saum toj kawg nkaus, nrhiav "Cov Ntaub Ntawv" thiab los ntawm qhov kev xaiv dropdown xaiv "Txuag Raws Li ...". Thaum txuag hauv lub tshav pob "Filename" tom qab cov teev no yuav tsum muaj kev txuas ntxiv Txtthiab XML.

    Ib yam dab tsi zoo li qhov no yuav tsum tau zoo nkaus li qhov tshwm sim tiav:





    25
    Muaj tseeb

    XML-compilers yuav tsum ua cov cai no rau hauv daim ntawv ntawm ib lub rooj nrog ib kem, qhov twg cov ntaub ntawv hais txog ib qho Ivan Ivanov tau qhia.

    Nyob rau hauv Notepad Nws yog heev tau ua kom yooj yim ntxhuav zoo li no, tab sis tsim ntau voluminous arrays ntawm cov ntaub ntawv yuav ua rau muaj teeb meem, txij li thaum nyob hauv lub niaj zaus Notepad Yog tsis muaj kev txhim kho yuam kev hauv cov cai los yog lawv qhov teeb meem.

    Raws li koj tau pom, tsim kom muaj cov ntaub ntawv XML tsis muaj dab tsi nyuab. Yog tias xav tau, txhua tus neeg siv uas tau ua haujlwm los ntawm lub koos pis tawj tau tsim. Txawm li cas los xij, los tsim cov ntaub ntawv XML tag nrho, nws raug pom zoo kom los kawm cov cim lus no, tsawg kawg ntawm qib theem pib.