Kulakwitsa 1606 poika AutoCAD. Mmene mungakonzekere

Maofesi omwe ali ndi chithunzi cha XML ali ndi deta yofunikira kwambiri ndipo safuna kuti pulogalamu yamakono iwonedwe ndikusintha. Fomu ya XML yomwe imasungira magawo ofunikira, deta, kapena mfundo zina zofunika zomwe zingathe kutsegulidwa popanda mavuto pogwiritsa ntchito njira zosavuta.

Koma bwanji ngati palifunika kusintha fayilo kamodzi kamodzi, osagwiritsidwa ntchito mokwanira kwa mkonzi wa XML ndi chikhumbo kapena luso logwiritsa ntchito pulogalamu yapadera pa izi? Pankhaniyi, mumangokhalira osatsegula ndi kupeza ma intaneti.

Mungasinthe bwanji tsamba la XML pa intaneti

Wosakatuli aliyense amakulolani kuti mutsegule fayilo ya XML kuti muwone, koma kuti musinthe zomwe zilipo muyenera kugwiritsa ntchito limodzi la ma intaneti omwe alipo.

Njira 1: XmlGrid

Mkonzi wooneka ngati wosavuta kwambiri pa intaneti ndidi chida champhamvu chogwira ntchito ndi zolemba za XML. Momwemo, simungangopanga ndi kusintha maofesi olembedwa m'chinenero chamakono, koma onetsetsani kuti ali ndi mapulogalamu otanthauzira komanso kutembenuza malemba kuchokera ku / ku XML.

Ntchito ya pa Intaneti ya XmlGrid

Mungayambe kugwira ntchito ndi fayilo ya XML mu XmlGrid kapena poyiyika pa sitetiyo, kapena poyika zomwe zili pafupi ndi zomwe zili pamenepo.

Tiyeni tiyambe ndi njira yachiwiri. Pachifukwa ichi, timangosintha malemba onse kuchokera pa fayilo la XML ndikuliyika kumunda pa tsamba loyamba la msonkhano. Ndiyeno dinani pa batani "Tumizani".

Njira inanso ndiyo kukopera buku la XML kuchokera ku kompyuta.

  1. Kuti muchite izi, dinani pakani yaikulu "Chithunzi Chotsegula".
  2. Fomu yoyendera fayilo ku tsamba idzaonekera patsogolo pathu.

    Pano, dinani koyamba pa batani "Sankhani fayilo" ndipo fufuzani fomu ya XML yofunidwa muwindo lazenera lazenera. Ndiye, kuti mutsirize opaleshoni, dinani "Tumizani".

Palinso njira yachitatu yobweretsera fayilo ya XML mu XmlGrid - loading by reference.

  1. Bululi liri ndi ntchitoyi. "Ndi URL".
  2. Pogwiritsa ntchito, timatsegula fomu yotsatirayi.

    Kuno kumunda "URL" Ife choyamba timatanthauzira kulumikizana kwachindunji ndi pepala la XML, ndiyeno dinani "Sumbit".

Mulimonse momwe mungagwiritsire ntchito, zotsatira zake zidzakhala chimodzi: chikalatacho chidzawonetsedwa ngati tebulo ndi deta, kumene munda uliwonse ukuimira selo losiyana.

Mwa kukonza chikalatacho, mukhoza kusunga fayilo yomalizidwa pa kompyuta yanu. Kuti muchite izi, gwiritsani ntchito batani.Sungani " pamwamba pa tsamba.

Ntchito ya XmlGrid ndi yabwino kwambiri kwa inu ngati mukufunikira kusintha pazomwe mukulemba payekha kapena kuwonetsa zomwe zili mu tebulo kuti zifotokoze bwino.

Njira 2: Zophunzitsira Pulogalamu

Ngati ntchito yam'mbuyoyi ikuwoneka ngati yeniyeni kwa inu, mungagwiritse ntchito mkonzi wa XML wambiri. Chida choterocho chimaperekedwa pa imodzi mwa zinthu zazikulu kwambiri pa intaneti mu gawo la maphunziro a IT - TutorialsPoint.

ZophunzitsiraPoint online service

Pitani kwa mkonzi wa XML, tikhoza kupyolera pa menyu owonjezera pa tsamba.

  1. Pamwamba pa tsamba lalikulu la TutorialsPoint timapeza batani "Zida" ndipo dinani pa izo.
  2. Kenaka tili ndi mndandanda wazomwe zilipo pa intaneti.

    Pano ife tikufuna chithunzi ndi ndemanga "XML EDITOR". Dinani pa izo ndipo potero pitani molunjika kwa mkonzi wa XML.

Maonekedwe a pa intanetiyi ndi omveka bwino ndipo ali ndi zofunikira zonse pomaliza ntchito ndi chikalata cha XML.

Mkonzi ndi danga logawidwa mu magawo awiri. Kumanzere ndi malo olembera kalata, kumanja kwake ndikowona mtengo.


Kuti muyike fayilo ya XML ku utumiki wa intaneti, muyenera kugwiritsa ntchito menyu kumbali ya kumanzere kwa tsamba, ndilo tabu Lembani Fayilo.

Kuti mulowere chikalata chochokera ku kompyuta, gwiritsani ntchito bataniPakani kuchokera ku kompyuta. Chabwino, kutsegula fayilo ya XML mwachindunji kuchokera ku chipani chachitatu, pangani chiyanjano kumalo osayinidwa Lowani URL ku Upload " pansi ndipo dinani "PITA".

Mukamaliza kugwira ntchito ndi chikalata, mungathe kuziisunga nthawi yomweyo pamakono a kompyuta. Kuti muchite izi, gwiritsani ntchito batani Sakanizani pa mtengo wa XML.

Zotsatira zake, fayilo ili ndi dzina "File.xml" adzatulutsidwa nthawi yomweyo ku PC yanu.

Monga momwe mukuonera, mkonzi wa XML wa pa intaneti, ngati kuli kofunikira, angasinthe pulogalamu yamakompyutayo mofanana. Zili ndi zonse zomwe mukufunikira: kuwonetserana mawu, zida zochepa zogwirira ntchito ndi malemba ndi mtengo pakuwona nthawiyi.

Njira 3: Code Beautify

Yankho lochokera ku Code Lokongoletsera ndilopambana kugwira ntchito ndi zolemba za XML pa intaneti. Webusaitiyi ikukuthandizani kuti muwone ndikusintha maofesi osiyanasiyana, kuphatikizapo, ndithudi, olembedwa m'chinenero chodziwika bwino.

Code Yokongoletsa utumiki pa intaneti

Kuti mutsegule mkonzi wa XML mwachindunji, patsamba lalikulu la utumiki pansi pa mutu "Ntchito Yotchuka" kapena "Web Viewer" pezani batani "Wowonera XML" ndipo dinani pa izo.

Maonekedwe a mkonzi wa pa intaneti, komanso chigawo chogwira ntchito, ndi ofanana kwambiri ndi chida chatchulidwa kale. Monga momwe zilili ndi TutorialsPoint solution, malo ogwira ntchito akugawidwa m'magawo awiri - dera lomwe lili ndi XML code ("Kulowera XML") kumanzere ndi mtengo wake ("Zotsatira") kumanja.

Mukhoza kusindikiza fayilo yokonzekera pogwiritsa ntchito mabatani. "Yenzani Url" ndi "Pezani". Woyamba amakulolani kuti mulowetseni chikalata cha XML polemba, ndipo chachiwiri kuchokera kukumbukira kompyuta yanu.


Mutatha kumaliza ntchito ndi fayilo, mawonekedwe ake atsopano akhoza kumasulidwa ku kompyuta yanu monga chilolezo cha CSV kapena ndikulumikizidwa kwapachiyambi kwa XML. Kuti muchite izi, gwiritsani ntchito mabatani "Tumizani ku CSV" ndi Sakanizani motero.

Kawirikawiri, kukonza mafayilo a XML pogwiritsa ntchito Code Kukonzekera yankho ndi kosavuta komanso kosavuta: pali kuwonetserana kwamasulidwe, chizindikiro cha mawonekedwe monga mtengo wa zinthu, mawonekedwe ophatikizidwa ndi zina zambiri. Zomalizazi zikuphatikizapo ntchito yowonongeka mwatsatanetsatane wa chikalata cha XML, chida cha kupanikizika kwake pochotsa mipata ndi kusindikiza, komanso kutembenuzidwa mafayilo ku JSON.

Onaninso: Tsegulani mafayilo a XML

Kusankha utumiki pa intaneti kuti mugwire ntchito ndi XML ndilo lingaliro lanu. Zonsezi zimadalira zovuta za chilemba chomwe muyenera kusintha ndi zolinga zomwe mukufuna. Ntchito yathu ndi kupereka zoyenera.