XML Descriptive Questions

ওয়েব স্কুল বিডি : সুপ্রিয় শিক্ষার্থী বন্ধুরা, শুভেচ্ছা নিয়ো। আজ তোমাদের java এর XML খুঁটিনাটি নিয়ে আলোচনা করা হলো

1. What is XML?
XML is the Extensible Markup Language. It improves the functionality of the Web by letting you identify your information in a more accurate, flexible, and adaptable way.
It is extensible because it is not a fixed format like HTML (which is a single, predefined markup language). Instead, XML is actually a metalanguage a language for describing other languages which lets you design our own markup languages for limitless different types of documents. XML can do this because it's written in SGML, the international standard metalanguage for text document markup (ISO 8879).
http://www.webschoolbd.com
2. Why is XML such an important development?
It removes two constraints which were holding back Web developments:
1. dependence on a single, inflexible document type (HTML) which was being much abused for tasks it was never designed for;
2. the complexity of full SGML, whose syntax allows many powerful but hard-to-program options.
XML allows the flexible development of user-defined document types. It provides a robust, non-proprietary, persistent, and verifiable file format for the storage and transmission of text and data both on and off the Web; and it removes the more complex options of SGML, making it easier to program for.

3. Describe the differences between XML and HTML?
Differences Between XML and HTML
XML
► User definable tags
► Content driven
► End tags required for well formed documents
► Quotes required around attributes values
► Slash required in empty tags
HTML
► Defined set of tags designed for web display
► Format driven
► End tags not required
► Quotes not required
► Slash not required

4. What is an XML namespace?
An XML namespace is a collection of names that can be used as element or attribute names in an XML document. The namespace qualifies element names uniquely on the Web in order to avoid conflicts between elements with the same name.

5. What is DTD? 
A DTD (Document Type Definition) allows us to:
a. Define a specific set of tags with specific relationships to one another
b. Define default values for attributes
c. Define additional text and binary entities, along with their associated notations Indicate the starting (root) element

6. What is XML Schema?
The schema defines the elements that can appear within the document and the attributes that can be associated with an element.
It also defines the structure of the document: which elements are child elements of others, the sequence in which the child elements can appear, and the number of child elements.

7. What is document object model?
The Document Object Model (DOM) is an interface specification maintained by the W3C DOM Workgroup that defines an application independent mechanism to access, parse, or update XML data. In simple terms it is a hierarchical model that allows developers to manipulate XML documents easily Any developer that has worked extensively with XML should be able to discuss the concept and use of DOM objects freely.

8. What is a Parser?
Parser is a software program that recognizes the rules of XML In well-formed XML
a. Checks document to see if it follows the well-formedness rules in Valid XML
b. Checks an XML DTD to see if it follows the rules of XML, then Checks an XML document to see if it follows the rules of XML, and also adheres to the structure against its DTD

9. What is Well Formed XML Document?
A "Well Formed" XML document has correct XML syntax.
The syntax rules are:
• XML documents must have a root element
• XML elements must have a closing tag
• XML tags are case sensitive
• XML elements must be properly nested
• XML attribute values must be quoted

10What actually are PCDATA and CDATA?
PCDATA
Simply speaking, PCDATA stands for Parsed Character Data. That means the characters are to be parsed by the XML, XHTML, or HTML parser. (< will be changed to <,
will be taken to mean a paragraph tag, etc). Compare that with CDATA, where the characters are not to be parsed by the XML, XHTML, or HTML parser.
CDATA
The term CDATA, meaning character data, is used for distinct, but related purposes in the markup languages SGML and XML. The term indicates that a certain portion of the document is general character data, rather than non-character data or character data with a more specific, limited structure.

অনলাইন এ ক্লাস করুন একদম ফ্রী. … প্রতিদিন রাত ৯টা থেকে ১০.৩০টা পর্যন্ত
Skype id - wschoolbd

বি.দ্র.: ওয়েব স্কুল বিডি থেকে বিদেশে পড়াশোনা সংক্রান্ত বিভিন্ন পরামর্শ প্রদান করার উদ্যোগ নেওয়া হয়েছে। আমাদের সাথে যোগাযোগ – (09602111125)

Muhammad Abdullah Al Mamun

I am Abdullah Al Mamun. Lecturer of Tejgaon College dept. of Mathematics. Have completed M.S in Mathematics from Chittagong University.

Post a Comment

আপনার কোন কিছু জানার থাকলে কমেন্টস বক্স এ লিখতে পারেন। আমরা যথাযত চেস্টা করব আপনার সঠিক উত্তর দিতে। ভালো লাগলে ধন্যবাদ দিতে ভুলবেন না। শিক্ষার্থীরা নোট ,সাজেশান্স ও নতুন নতুন ভিডিও সবার আগে পেতে আমাদের Web School BD চ্যানেলটি সাবস্ক্রাইব SUBSCRIBE করতে পারো।
- শুভকামনায় ওয়েব স্কুল বিডি

Previous Post Next Post