العلم و المعرفة
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.

العلم و المعرفة

العلم و المعرفة
 
الرئيسيةأحدث الصورالتسجيلدخول
بحـث
 
 

نتائج البحث
 
Rechercher بحث متقدم
المواضيع الأخيرة
» مخترعون ومكتشفون
XML--------- Icon_minitimeالجمعة مايو 29, 2015 7:20 pm من طرف mimi2

» إطلاق موقع لتعلم اللغات من ناطقيها الأصليين عبر محادثات الفيديو
XML--------- Icon_minitimeالجمعة مايو 29, 2015 7:17 pm من طرف mimi2

» إطلاق الإصدار الجديد من الوردبرس WordPress 3.2
XML--------- Icon_minitimeالجمعة مايو 29, 2015 7:17 pm من طرف mimi2

» غرائب اللغة العربية
XML--------- Icon_minitimeالجمعة مايو 29, 2015 7:14 pm من طرف mimi2

» تغيير صفحة قوقل بالصور الجميلة
XML--------- Icon_minitimeالأحد أغسطس 21, 2011 5:43 pm من طرف Admin

» موسوعة المعلومات الدينية
XML--------- Icon_minitimeالإثنين أغسطس 15, 2011 5:04 pm من طرف Admin

» الكشف عن الموعد الرسمي لإطلاق موقع التخفيضات الجديد Balaash.com في السعودية
XML--------- Icon_minitimeالأربعاء يوليو 27, 2011 3:47 pm من طرف Admin

» إطلاق موقع College2Startup للتوظيف
XML--------- Icon_minitimeالأربعاء يوليو 27, 2011 3:09 pm من طرف Admin

» يوتيوب يطلق تصميماً جديداً لواجهة الموقع
XML--------- Icon_minitimeالأربعاء يوليو 27, 2011 3:05 pm من طرف Admin


 

 XML---------

اذهب الى الأسفل 
كاتب الموضوعرسالة
Admin
Admin



عدد المساهمات : 36
تاريخ التسجيل : 04/05/2011

XML--------- Empty
مُساهمةموضوع: XML---------   XML--------- Icon_minitimeالإثنين يونيو 20, 2011 12:13 pm

introduction

XML stands for eXtensible Markup Language.

XML is designed to transport and store data.

HTML was designed to display data.

XML is important to know, and very easy to learn.


XML Example

<?xml version="1.0" encoding="UTF-8" ?>
- <dataroot xmlns:od="urn:schemas-microsoft-com:officedata" generated="2011-10-29T03:01:23">
- <Cost>
<Course_x0020_Name>إدخال البيانات و معالجة النصوص</Course_x0020_Name>
<NCourse>100</NCourse>
<Cost>600</Cost>
</Cost>
</dataroot>


What is XML

XML is a markup language much like HTML

XML was designed to carry data, not to display data

XML tags are not predefined. You must define your own tags

XML is designed to be self-descriptive


All XML Elements Must Have a Closing Tag

In XML, it is illegal to omit the closing tag. All elements must have a closing tag:

<P>This is a paragraph</P>
<P>This is another paragraph</P>


XML Tags are Case Sensitive

XML tags are case sensitive. With XML, the tag <Letter> is different from the tag <letter>.

Opening and closing tags must be written with the same case:


<Message>This is incorrect</message>
<message>This is correct</message>


XML Elements Must be Properly Nested

In XML, all elements must be properly nested within each other:

<b><i>This text is bold and italic</i></b>


XML Documents Must Have a Root Element

XML documents must contain one element that is the parent of all other elements. This element is called the root element.

XML Attribute Values Must be Quoted

In XML the attribute value must always be quoted. See the two XML documents below. The first one is incorrect, the second is correct:

<note date=12/11/2007>
<to>Nasser</to>
<from>Saud</from>
</note>

-----------

<note date=“12/11/2007”>
<to>Nasser</to>
<from>Saud</from>
</note>


Comments in XML

The syntax for writing comments in XML is similar to that of HTML.

<!-- This is a comment -->
الرجوع الى أعلى الصفحة اذهب الى الأسفل
https://yousefalanezi.rigala.net
 
XML---------
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
العلم و المعرفة  :: منتدى للبحوث العلمية-
انتقل الى: