What is XML and different between html and XML

what is xml and different between xml and html in Hindi



XML in Hindi

XML एक markup language है इसका पूरा नाम extensible markup language है xml को w3c ने develop किया था XML , HTML की  limitations को पूरा करती हैं XML data को organize करने के लिए use किया जाता हैं 

Html एक बहुत popular language हैं html में 100 से भी ज्यादा tags है इन tags को याद रखना और यूज करना बहुत मुश्किल है साथ ही html का presentation browser के  according change होता रहता हैं । Html में एक problem ये एक भी है कि है कई बार आपको documents में original content से ज्यादा tags होते है

इन सभी problem को xml के द्वारा solve करने की कोशिश की गई है ऐसा बिल्कुल नहीं व कि  XML HTML को replace करती हैं और near future में ऐसा possible नहीं है

XML, HTML को combine करके use किया जा सकता है XML HTML के combine version को X-HTML कहते हैं

जब आप किसी दूसरे application के द्वारा data  को store करते हैं तो उसे access करने के लिए आपको वही application use करनी पड़ती हैं लेकिन XML की  साथ ऐसा नहीं है XML से data आप आसानी से access कर सकते हैं ।

read also DHPC क्या होता है ?

Feature of XML in Hindi

XML बहुत ही popular language हैं और ये अपने कुछ features की वजह से दूसरी language से different हैं आइए इसके feature के बारे में जानने का प्रयास करते है

  1. xml , complex structure के data को handle करने के लिए बहुत ही power full language मानी जाती है
  2. XML के द्वारा data का description text format me दिया जाता हैं
  3. XML data को tree structure me handle करती हैं जिससे कि processing fast हो जाती हैं
  4. XML ka format human or computer readable दोनों होता हैं
  5. डाटा को लम्बे समय तक store करने और दुबारा use करने के लिए बहुत अच्छी technology हैं
  6. XML में data को markup language के द्वारा describe किया जाता हैं


Limitations of XML in Hindi

  1. xml का syntax binary representation से थोड़ा बड़ा होता हैं same data XML में थोड़ा बड़ा होता हैं और binary representation में छोटा होता है
  2. XML का syntax बहुत ज्यादा verbose हैं यानि बहुत ही explanatory हैं
  3. XML किसी भी तरह के data type को support नहीं करती हैं जैसे कि integer, string, float etc
  4. documents का hierarchical representation limited होता हैं
  5. XML namespace use करने में problematic हैं
  6. XML का कोई भी application processing system नहीं है processing के लिए XML को HTML पर dependent रहना पड़ता हैं
  7. xml document setup करने में बहुत ही difficult और expensive है

read also HTML क्या होता हैं ?

Use of XML in Hindi

XML को बहुत से task के लिए यूज किया जाता हैं इसमें से कुछ इस प्रकार हैं

  1. बड़ी website को maintain करने लिए XML का use किया जाता हैं
  2. organization के बीच में information exchange करने के लिए यूज किया जाता हैं
  3. Database को load और upload करने के लिए भी use किया जा सकता है
  4. XML को style sheets के साथ merge किया जाता हैं
  5. किसी भी तरह का data XML document के रूप में express किया जा सकता है


Different between HTML and XML

  1. xml data को carry करने के लिए design की गई है जबकि HTML data display करने के लिए यूज किया जाता हैं
  2. XML के सभी tags predefined होते है जबकि XML के tags user defined होते हैं


A Simple XML program

<? Xml version=”1.0” encoding=”STF”?>

<Person>

Name ran name 

Age 25 age

</Person>


एक टिप्पणी भेजें

0 टिप्पणियाँ