Iphutha 1606 uma ufaka i-AutoCAD. Ungalungisa kanjani

Amafayela anokwandiswa kwe-XML aqukethe idatha eyisisekelo eyisisekelo ngakho-ke angadingi isofthiwe ekhokhelwayo ukuyibuka nokuyihlela. Idokhumenti ye-XML egcina isethi yamapharamitha wesicelo, i-database, noma olunye ulwazi olubalulekile lungavulwa ngaphandle kwezinkinga besebenzisa i-notepad yesistimu elula.

Kodwa kuthiwani uma kukhona isidingo sokushintsha ifayela elinjalo kanye, ngaphandle kokusebenza ngokugcwele komhleli we-XML nesifiso noma ikhono lokusebenzisa uhlelo oluhlukile kwalokhu? Kulesi simo, udinga kuphela isiphequluli futhi ufinyelele kunethiwekhi.

Indlela yokuhlela idokhumenti ye-XML ku-inthanethi

Noma yisiphi isiphequluli sewebhu sikuvumela ukuba uvule ifayela le-XML ukuze ubuke, kodwa ukushintsha okuqukethwe kwalo kuzodingeka usebenzise enye yezinsiza ezitholakala ku-inthanethi.

Indlela 1: XmlGrid

Lo mhleli we-intanethi olula kakhulu empeleni uyithuluzi elinamandla lokusebenza nemibhalo ye-XML. Kuyo, awukwazi ukudala kuphela futhi uguqule amafayela abhalwe ngolimi olubanzi lwe-markup, kodwa futhi hlola ukuqinisekiswa kwawo, amabalazwe wendawo yokuklama nokuguqula amadokhumenti kusuka / kuya ku-XML.

Isevisi ye-inthanethi ye-XmlGrid

Ungaqala ukusebenza ngefayela le-XML ku-XmlGrid noma ngokulilayisha kusayithi, noma ngokufaka okuqukethwe okusheshayo kwedokhumenti lapho.

Ake siqale ngenketho yesibili. Kulesi simo, sithuthelela wonke umbhalo kusuka efayeleni le-XML bese uyinamathisela ensimini ekhasini eliyinhloko lensizakalo. Bese uchofoza inkinobho "Thumela".

Enye indlela ukulanda idokhumenti ye-XML kusuka kukhompyutha.

  1. Ukwenza lokhu, chofoza inkinobho enkulu "Vula Ifayela".
  2. Ifomu lokulayisha ifayela ekhasini lizovela ngaphambi kwethu.

    Lapha, chofoza kuqala inkinobho "Khetha ifayela" bese uthola idokhumenti ye-XML oyifunayo efasiteleni lemenenja yefayela. Khona-ke, ukuqedela ukusebenza, chofoza "Thumela".

Kukhona indlela yesithathu yokungenisa ifayela le-XML ibe yi-XmlGrid - ukulayisha ngokubhekisela.

  1. Inkinobho ibhekene nalo msebenzi. "Nge-URL".
  2. Ukuchofoza kuso, sivula ifomu elilandelayo.

    Lapha ensimini "URL" thina kuqala sicacise ukuxhumana okuqondile kumbhalo we-XML, bese uchofoza "Sumbit".

Noma ngabe iyiphi indlela oyisebenzisayo, umphumela uzoba owodwa: idokhumenti izoboniswa njengetafula nedatha, lapho insimu ngayinye imelela iseli elihlukile.

Ngokuhlela idokhumenti, ungagcina ifayela eliqediwe kukhompyutha yakho. Ukuze wenze lokhu, sebenzisa inkinobho encane."Gcina" phezulu kwekhasi.

Isevisi ye-XmlGrid ifaneleka kakhulu kuwe uma udinga ukwenza izinguquko kudokhumenti ezingeni lezici zomuntu ngamunye noma ukuletha okuqukethwe kwayo efomu lesithebula ukuze kuvezwe ngokucacile.

Indlela yesi-2: IzifundisiPoint

Uma isevisi yangaphambilini ibonakala ikucacile kuwe, ungasebenzisa umhleli we-XML wesilasi. Ithuluzi elinjalo linikezwa kwenye yezinsiza ezinkulu kunazo zonke ensimini emkhakheni wezemfundo we-IT - IziThuthi zoPhuculo.

IzifundiswaPoint service online

Yiya kumhleli we-XML, singakwazi ngokusebenzisa imenyu eyengeziwe kusayithi.

  1. Phezulu kwekhasi eliyinhloko leTutorialsPoint sithola inkinobho "Amathuluzi" bese uchofoze kuso.
  2. Okulandelayo sinalo uhlu lwawo wonke amathuluzi wokuthuthukiswa ku-intanethi atholakalayo.

    Lapha sinesithakazelo esithombeni esinamazwibela "XML UMhleli". Chofoza kuso bese uya ngqo kumhleli we-XML.

Ukusetshenziswa kwalesi sinkinga ku-intanethi kucacile ngangokunokwenzeka futhi kuqukethe konke ukusebenza okudingekayo ukuqedela umsebenzi nge-XML idokhumenti.

Umhleli isikhala senziwa izingxenye ezimbili. Ngakwesokunxele yindawo yokubhala ikhodi, ngakwesokudla ukubuka kwayo komuthi.


Ukuze ulayishe ifayela le-XML enkonzweni ye-intanethi, kuzomele usebenzise imenyu ngakwesokunxele kwekhasi, okuyithebhu Layisha Ifayela.

Ukungenisa idokhumenti kusuka kukhompyutha, sebenzisa inkinobhoLayisha kusuka kukhompyutha. Kulungile, ukulanda ifayela le-XML ngokuqondile kumthombo wesithathu, faka isixhumanisi ensimini esayiniwe "Faka i-URL ku-Layisha" ngezansi bese uchofoza "Hamba".

Ngemva kokuqeda ukusebenza ngedokhumenti, ungayisindisa ngokushesha kwimemori yekhompiyutha. Ukuze wenze lokhu, sebenzisa inkinobho Landa phezu kombono womuthi we-XML.

Ngenxa yalokho, ifayela enegama "File.xml" izofakwa ngokushesha ku-PC yakho.

Njengoba ungabona, lo mhleli we-XML ku-intanethi, uma kunesidingo, angakwazi ukufaka esikhundleni se-computer ehambisanayo nohlelo. Inakho konke okudingayo: ukugqamisa kwe-syntax, amathuluzi amancane okusebenza ngombhalo nokubuka kwesihlahla kwesikhashana ngesikhathi sangempela.

Indlela 3: Ikhodi Ihle

Isixazululo esivela kwi-Code Beautify service siphelele ukusebenza nemibhalo ye-XML ku-intanethi. Lewebhusayithi ikuvumela ukuba ubuke futhi uhlele amafomethi efayela ehlukahlukene, kufaka phakathi, okuyiqiniso, okubhalwa ngolimi olubanzi lwe-markup.

Ikhodi Yakha inkonzo enhle

Ukuze uvule umhleli we-XML ngqo, ekhasini eliyinhloko lensiza ngaphansi kwesihloko "Ukusebenza Okudumile" noma "Web Viewer" thola inkinobho "I-XML Viewer" bese uchofoze kuso.

I-interface yomhleli we-intanethi, kanye nenxenye yokusebenza, ifana kakhulu nethuluzi eselikhulunywe ngenhla. Njengesixazululo seTutorialsPoint, indawo yokusebenzela ihlukaniswe izingxenye ezimbili - indawo enekhodi ye-XML ("Okokufaka kwe-XML") ngakwesobunxele nangomuthi wayo wokubuka ("Umphumela") ngakwesokudla.

Ungalayisha ifayela lokuhlela usebenzisa izinkinobho. "Layisha u-Url" futhi "Dlulisa amehlo". Owokuqala ukuvumela ukuthi ungenise idokhumenti ye-XML ngokubhekisela, futhi okwesibili kusuka kwimemori yekhompyutha yakho.


Ngemuva kokuthi uqede ukusebenza nefayela, inguqulo yayo ebuyekeziwe ingalandwa kukhompyutha yakho njengedokhumenti ye-CSV noma isandiso sokuqala se-XML. Ukuze wenze lokhu, sebenzisa izinkinobho "Thumela ku-CSV" futhi Landa ngokulandelana.

Ngokuvamile, ukuhlela amafayela we-XML usebenzisa i-Code Kulungisa isixazululo kulula kakhulu futhi kucacile: kukhona ukugqamisa kwe-syntax, ukumelwa kwekhodi ngendlela yesigxobo sezinto, isikhombimsebenzisi esibonakalayo kanye nenombolo yezici ezengeziwe. Lokhu kuhlanganisa umsebenzi wokufometha okusheshayo kwedokhumenti ye-XML, ithuluzi lokucindezela kwalo ngokususa izikhala nokukhipha, kanye nokuguqulwa kwamafayela okusheshayo ku-JSON.

Bheka futhi: Vula amafayela we-XML

Ukukhetha isevisi ye-intanethi yokusebenza ne-XML yisinqumo sakho. Konke kuxhomeke ekubuneni kwedokhumenti okudingayo ukuhlela nokuthi yiziphi izinhloso oziphishekelayo. Umsebenzi wethu ukuhlinzeka ngokufanelekayo.