الثلاثاء، 27 مايو 2014

What is XML?



What is XML?



XML is an open format wherebycomputers and humans can share data. XML files are not intended to be read directly by humans, rather, they are intended to be parsed by a computer. Some types of XML are converted into human-readable form (RSS feeds, for example) and others are used internally by computers and the user doesn't even know that they are there (such as bank transactions).
XML has many properties that make it attractive. For one, it is a textformat, so it can be opened in any text editor for human review or modification. This property also ensures no dependency on any particular operating system, program, or hardware. It also makes the format suitable both for the transfer of data, and data storage. The structure of an XML document is self-documenting, so there is little overhead needing in developing a parser for existing documents. As a hierarchically-structured format, it is well suited to lists, records, logs, trees, and outlines. Most importantly, the XML format supports Unicode, thereby allowing data to be stored and transferred in almost every human language in existence.
XML does have its drawbacks. The strict syntax is repetitive and often redundant. Although the redundancy helps keep parsers simple, it makes for very large file sizes. Being text, however, XML files are very easily compressed. More so, in fact, than human-readable text, because of the repetitive nature of the syntax. Also, being hierarchical, browsing options are limited without advanced search tools. XML does not support various datatypes, which is of especial importance in some mathematical and programming fields. Specific XML schema languageshave been developed to overcome this shortcoming.

L هي شكل مفتوح حيث أجهزة الكمبيوتر والبشر يمكن تبادل البيانات . وليس المقصود ملفات XML يمكن ان تقرأ مباشرة من قبل البشر ، بدلا من ذلك، وهي تهدف إلى أن تحليل بواسطة جهاز كمبيوتر. يتم تحويل بعض أنواع XML إلى شكل قابل للقراءة البشرية ( آر إس إس، على سبيل المثال) وتستخدم الآخرين داخليا من قبل أجهزة الكمبيوتر و المستخدم لا يعرفون حتى أنهم هناك ( مثل المعاملات المصرفية ) .
XML ديه العديد من الخصائص التي تجعلها جذابة . لأحد ، بل هو شكل النص ، بحيث يمكن فتحه في أي محرر نص للمراجعة أو التعديل البشري . هذه الخاصية أيضا يضمن عدم الاعتماد على أي نظام تشغيل معين أو برنامج أو الأجهزة. كما انه يجعل من شكل مناسبة سواء لنقل البيانات، و تخزين البيانات. هيكل وثيقة XML هو توثيق الذاتي ، حتى لا يكون هناك القليل من النفقات العامة التي تحتاج في تطوير محلل للمستندات الموجودة. كما شكل هرمي منظم ، فمن مناسبة تماما للقوائم ، وسجلات ، وسجلات ، والأشجار، و الخطوط العريضة . الأهم من ذلك، يدعم تنسيق XML يونيكود ، مما يتيح البيانات ليتم تخزينها و نقلها في اللغة البشرية تقريبا في كل الوجود.
شعار XML
XML لديه عيوبه . بناء الجملة صارمة غير متكررة ، وغالبا ما زائدة عن الحاجة. على الرغم من أن التكرار يساعد على الحفاظ على موزعي بسيطة ، فإنه يجعل ل أحجام الملفات كبيرة جدا. ويجري النص ، ومع ذلك، يتم ضغط ملفات XML بسهولة بالغة. أكثر من ذلك ، في الواقع، من نص قابل للقراءة الإنسان ، بسبب طبيعة المتكررة لل جملة . أيضا ، ويجري الهرمي ، خيارات التصفح تقتصر بدون أدوات البحث المتقدمة. XML لا يدعم مختلف أنواع البيانات ، والتي هي من أهمية خاصة في بعض المجالات الرياضية و البرمجة. وقد تم تطوير لغات محددة XML مخطط للتغلب على هذا القصور .

0 التعليقات:

إرسال تعليق