Explain different types of XML Application Programming Interface (API).
Explain the XmlReader class.
Describe the XmlWriter class.
What is XPath?
What is an XML attribute?
Describe the role that XSL can play while dynamically generating HTML pages from a relational database.
What are the advantages of DOM?
What is an XML schema?
State the advantages of XML schemas over DTD.
Using XSLT, how would you extract the value of a specific attribute from an element in an XML document?
Which classes are supported to make an XML DOM?
What is the DTD?
What is XSLT?
Describe the rules and regulations that must be followed while creating a well-formed XML document.
What are the naming conventions required for XML elements tags?
Explain the XML elements.
What is well formed XML document?
What are the advantages of XML DOM Document?
What are the basic rules while writing XML?
Whether graphics can be used in XML? If so, How?
What are the three parts of XSL?
What is Complex Element?
Xml interview questions and answers on advance and basic Xml with example so this page for both freshers and experienced condidate. Fill the form below we will send the all interview questions on Xml also add your Questions if any you have to ask and for apply
in Xml Tutorials and Training course just send a mail on info@pcds.co.in in detail about your self.
Top Xml interview questions and answers for freshers and experienced
What is Xml ?
Answer : Extensible Markup Language (XML) is a flexible structured document format that defines human- and machine-readable encoding rule
Questions : 1 :: What is Extensible Markup Language (XML).
XML is a simple and flexible markup language in the text format. Nowadays, it is widely used to exchange a large variety of data over the Internet. XML consists of data as text in well-defined...View answers
Questions : 2 :: Is XML case sensitive?
Yes, XML is case sensitive.Yes, XML is case sensitive.
Questions : 3 :: Explain the difference between XML and HTML.
*XML describes data while HTML describes how the data should be displayed. Therefore, HTML is about *displaying information while XML is about describing information.*XML supports user-defined tags...View answers
Questions : 4 :: What is XML DOM?
The DOM stands for Document Object Model, which describes the logical formation of documents and provides the way to access and manipulate a document. It supplies an Application Programming Interface...View answers
Questions : 5 :: Which namespaces in .NET are used for XML?
The System.xml.dll is the real physical file, which contains the XML implementation. Some of the other namespaces that allow .NET to use XML are as...View answers
Questions : 6 :: Explain different types of XML Application Programming Interface (API).
The following are two main types of XML parsers:Tree-based API - Compiles an XML document into a tree structure and loads it into memory. You can traverse and change the tree structure. The DOM is an...View answers
Questions : 7 :: Explain the XmlReader class.
The XmlReader class is used to read XML data in a fast, forward-only, and non-cached manner.To work with XmlReader class in .NET, you need to import the following namespace:
In C#:using...View answers
Questions : 8 :: Describe the XmlWriter class.
The XmlWriter class is used to write XML to a stream, a file, or a Textwriter object. This class works in a forward-only, non-cached manner. You can configure the XmlWriter object up to a large...View answers
Questions : 9 :: What is XPath?
XPath stands for XML Path. It is a language used to access different parts of an XML document, such as elements and attributes.
Questions : 10 :: What is an XML attribute?
An XML attribute contains additional information regarding that particular element. The XML attributes use the name-value pair. For example, the element student has an attribute called id and the...View answers
Questions : 11 :: Describe the role that XSL can play while dynamically generating HTML pages from a relational database.
The SQLXML 3.0 and advanced versions provide the facility of mapping the SQL queries output with XSLT templates. It uses XSLT to present the records that are retrieved from databases on Web pages...View answers
Questions : 12 :: What are the advantages of DOM?
The following are the advantages of DOM:DOM stores the entire XML document into memory before processing. Therefore, the XML structure can be easily modified and values can be added, changed, and...View answers
Questions : 13 :: What is an XML schema?
An XML schema provides the definition of an XML document. This implies that an XML schema defines the following in an XML document:The elements that can appear in an XML document.The attributes that...View answers
Questions : 14 :: State the advantages of XML schemas over DTD.
Microsoft developed a language known as the XML Schema Definition (XSD) to describe the schema to an XML document. The following are the advantages of XML schemas over DTDs:-XSD keeps much better...View answers
Questions : 15 :: Using XSLT, how would you extract the value of a specific attribute from an element in an XML document?
The components necessary for the above mentioned operation are as follows:-The template element - Matches the correct XML element.-The value-of element - Selects the attribute value.-The optional...View answers
Questions : 16 :: Which classes are supported to make an XML DOM?
The following are the different classes in the System.Xml namespace that make up the XML DOM:-The XmlNode class-The XmlDocument Class-The XmlElement Class-The XmlAttribute Class-The XmlText class-The...View answers
Questions : 17 :: What is the DTD?
The DTD is Document Type Definition that describes the formation of the content of an XML document. The DTD manages the data to store in a consistent format. It defines the XML elements and...View answers
Questions : 18 :: What is XSLT?
XSLT is Extensible Stylesheet Language Transformations that is a part of XML, which is a mechanism to transform an XML document into another XML or HTML document.
Questions : 19 :: Describe the rules and regulations that must be followed while creating a well-formed XML document.
The following are the rules and regulations that are necessary to follow while creating a well-formed XML document:-Every start tag must end with an end tag.-A root element should be included for...View answers
Questions : 20 :: What are the naming conventions required for XML elements tags?
The following are the naming conventions that need to be followed for XML elements tags:-Element names should contain only characters, numbers, hyphens, and periods.-Element names cannot not begin...View answers
Questions : 21 :: Explain the XML elements.
The elements are the central units of an XML document that explain and identify data. The elements are represented by the tags. You can also make your own tags, which make XML a user-friendly...View answers
Questions : 22 :: What is well formed XML document?
A well-formed XML document must follow the following rules –
• Every start tag should end with an end tag
• XML tags are case sensitive
• Empty tags...View answers
Questions : 23 :: What are the advantages of XML DOM Document?
Advantages of XML DOM:
• XML structure is traversable, and it can be randomly accessed by traversing the tree.
• XML structure is modifiable, and values can be added, changed and...View answers
Questions : 24 :: What are the basic rules while writing XML?
These are the basic rules while writing XML:
• All XML should have a root element
• All tags should be closed
• XML tags are case sensitive
• All tags should be nested...View answers
Questions : 25 :: Whether graphics can be used in XML? If so, How?
Yes, Graphics can be included in XML by using XLink and XPointer specifications. It supports graphic file formats like GIF, JPG, TIFF, PNG, CGM, EPS and...View answers
Questions : 26 :: What are the three parts of XSL?
XSL consists of three parts:
XSLT – Used to transform XML documentsXPath – Used for navigating in XML documentsXSL-FO – Used for formatting XML...View answers
Questions : 27 :: What is Complex Element?
A complex element contain other elements or attributes and following are kinds of Complex Elements:
It has empty elementsIt contain other elementsIt contain only textIt contain both other elements...View answers
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website