Files tare da .xsd tsawo sukan haifar da rikice tsakanin masu amfani. Wannan bayanin ya bayyana cewa akwai nau'i biyu na wannan tsari, wanda ke da cikakken bayani a kan irin. Sabili da haka, kada ka damu idan aikace-aikacen da aka saba ba zai iya bude shi ba. Watakila kawai samu fayil ɗin wani nau'i. Mene ne bambancin dake tsakanin fayilolin XSD da kuma abin da shirye-shiryen da zasu iya budewa, za a tattauna a kasa.
Shirin Shirye-shiryen XML
Shirin Takardun XML (XML Schema Definition) shi ne mafi yawan nau'in XSD fayil. An san shi tun 2001. Wadannan fayiloli sun ƙunshi mafi yawan bayanai da ke kwatanta bayanan XML - tsarin su, abubuwa, halayen, da sauransu. Don buɗe fayil ɗin irin wannan, akwai hanyoyi da dama. Alal misali, dauki misali mafi sauki na wannan tsari (sayen tsari), wanda Microsoft ke bayar.
Hanyar 1: Masu Shirya XML
Masu gyara XML sun fi dacewa software don bude fayiloli XSD, tun da yake yana tare da taimakonsu wadanda aka kirkiro fayilolin wannan nau'in. Yi la'akari da wasu daga cikinsu a cikin dalla-dalla.
Asusun XML
Wannan shirin yana ɗaya daga cikin abubuwan da aka ƙaddamar da Microsoft ba tare da yin amfani da fayilolin XML ba. Saboda haka, XSD za a iya buɗewa tare da shi.
Ƙididdigar XML ba ta bada ƙarin fasali fiye da shirye-shiryen da aka bayyana a sama. Bugu da ƙari ga ƙayyadaddun rubutu, yana ƙayyade tsarin daftarin aiki ta atomatik kuma yana nuna shi a cikin tsari mai dace don dubawa da kuma gyarawa.
Oxygen XML Edita
Ba kamar na baya ba, wannan samfurin software shine kayan aiki mai mahimmanci don bunkasa takardun XML. Tsarin fayil na XSD yana gabatar da shi a cikin launi mai launi
Wannan shirin ne multiplatform, duka a matsayin aikace-aikacen da ba ta dace ba kuma a matsayin plugin na Eclipse.
Download Oxygen XML Edita
Kuna iya buɗe fayilolin XSD tare da taimakon wasu kayan aiki na "nauyi", kamar su Microsoft Visual Studio, Cibiyar Cikin Gyara, da sauransu. Amma dukansu kayan aiki ne ga masu sana'a. Shigar da su kawai don manufar buɗe fayil ɗin ba ya da ma'ana.
Hanyar 2: Masu bincike
An bude fayilolin XSD a cikin wani bincike. Don yin wannan, zaka iya amfani da menu mahallin ko menu "Fayil" (idan akwai a browser). Ko kuma zaka iya saita hanyar zuwa fayil ɗin a mashin adireshin mai bincike ko ja shi zuwa mashin binciken yanar gizo.
Wannan shi ne yadda samfurinmu, ya buɗe a cikin Google Chrome, kamar:
Kuma wannan shi ne, amma riga a cikin Yandex Browser:
Kuma a nan ya riga ya kasance a Opera:
Kamar yadda kake gani, babu wani bambanci. Ya kamata a lura cewa masu bincike suna da dacewa ne kawai don duba fayiloli na irin wannan. Ba za ku iya shirya wani abu a cikinsu ba.
Hanyar 3: Masu Shirya rubutu
Saboda sauƙin tsarinsa, fayilolin XSD suna buɗewa da kusan kowane editan rubutu kuma za a iya canjawa da sauƙi a can. Bambance-bambance na karya ne kawai a sauƙaƙe kallo da gyarawa. Ana iya buɗe su kai tsaye daga editaccen rubutu, ko daga cikin mahallin mahallin ta hanyar zaɓar wannan zaɓi "Buɗe tare da".
Ga wasu misalan yadda za ayi wannan ta amfani da masu gyara rubutu daban-daban:
Binciken
Wannan shi ne aikace-aikacen fayil na mafi sauki, ta hanyar tsoho ba a kowane ɓangaren Windows. Wannan shi ne yadda samfurinmu, aka buɗe a Notepad, kama da:
Saboda rashin daidaituwa, gyara fayil XSD a ciki zai kasance da wuya, amma don samun fahimtar juna tare da abinda ke ciki, Notepad zai dace.
Faɗakarwa
Wani ɓangaren da ba a canza ba na Windows, idan aka kwatanta da Notepad, wanda ke da siffofin da suka ci gaba. Amma wannan ba zai shafar budewa na XSD ba, tun da wannan editan ba ya samar da ƙarin kayan da zai dace don dubawa da kuma gyara shi.
Kamar yadda kake gani, ban da shirin na shirin, babu abin da ke cikin hanyar XSD, idan aka kwatanta da Notepad, ya canza.
Binciken ++
Wannan shirin yana da wannan Ƙididdiga ɗin, amma tare da wasu ƙarin ayyuka, kamar yadda ƙananan ƙwararru ke nuna a cikin take. Saboda haka, asusun XSD da aka bude a Notepad ++ yana da kyau sosai da godiya ga jerin abubuwan da ke nuna alama. Wannan ya sa tsarin gyara ya fi dacewa.
Zaka iya bude fayilolin XSD a cikin masu sarrafawa masu mahimmanci, kamar MS Word ko LibreOffice. Amma tun da ba a ƙayyade waɗannan kayan aikin software ba domin gyara fayiloli irin wannan, za a nuna su a cikin hanya kamar yadda aka rubuta a Notepad.
Tsarin tsanya-tsalle
Wani ɓangaren na XSD fadada shi ne zane-zane tsari. Saboda haka, a wannan yanayin, wannan tsari na fayil shine hoton. A cikin waɗannan fayiloli, baya ga hoton da kansa, akwai bayanin launi kuma cikakkun bayanai don ƙirƙirar haɗi. Zaka iya bude wannan hanyar XSD a hanya guda kawai.
Mai kirkirar mai kirkirar Shirin Tsarin Kullin shine kayan aiki na farko don buɗe samfurori na haɗi, kamar yadda an tsara ta musamman don ƙirƙirar da gyara su. Wannan shi ne abin da XSD fayil ya buɗe a cikin Mafarki Mai kama.
Shirin yana da kayan aiki mai mahimmanci. Bugu da ƙari, ana iya sauƙaƙe da sauri. Bugu da ƙari, an rarraba shi kyauta.
Saboda haka, tsarin hanyar XSD shine mahimmin tsari ne na tsarin XML. Idan ba ta bude tare da masu rubutun rubutu ba, to muna da fayil wanda ya ƙunshi nau'i mai tsutsa.