XML Test For Beginners! Trivia Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By C0705K
C
C0705K
Community Contributor
Quizzes Created: 1 | Total Attempts: 2,283
| Attempts: 2,283 | Questions: 72
Please wait...
Question 1 / 72
0 %
0/100
Score 0/100
1. XML is used for web services.

Explanation

XML (Extensible Markup Language) is commonly used for web services. It is a popular format for structuring and exchanging data over the internet. XML allows for the representation of complex data structures and is platform-independent, making it suitable for communication between different systems. It is widely used in web services to facilitate data exchange and interoperability between applications and services. Therefore, the statement "XML is used for web services" is true.

Submit
Please wait...
About This Quiz
XML Test For Beginners! Trivia Quiz - Quiz

XML(Extensible Markup Language) is a markup language similar to HTML, including markup symbols to relate a page and developed by World Wide Web Consortium. XML tags identify, store... see moreand organize the data. This trivia quiz has been created for beginners and learners to know the XML's basic coding and functions.
see less

2. An XML element can contain other XML elements.

Explanation

An XML element can contain other XML elements because XML follows a hierarchical structure where elements can be nested within each other. This allows for the organization and structuring of data in a tree-like format. Each element can have child elements, making it possible to create complex and nested structures within an XML document. Therefore, the statement "An XML element can contain other XML elements" is true.

Submit
3. You can require a specific value for an attribute by setting the value for fixed.

Explanation

By setting the value for "fixed" attribute, it is possible to require a specific value for an attribute. This means that the attribute must always have a particular value and cannot be left blank or changed. Therefore, the statement is true.

Submit
4. An XML schema is used to define a complex type. An XML schema is used to define a complex type.

Explanation

An XML schema is a way to define the structure, content, and data types of XML documents. It allows for the creation of complex types, which are used to define elements that can contain other elements or attributes. By defining a complex type, the XML schema provides a way to specify the hierarchical structure and relationships within an XML document, making it easier to validate and process the data. Therefore, the statement that an XML schema is used to define a complex type is true.

Submit
5. SAX is

Explanation

SAX is an XML parser. SAX stands for Simple API for XML and it is a widely used event-driven interface for parsing XML documents. It allows developers to read and process XML data sequentially, without loading the entire document into memory. SAX parsers are efficient and memory-friendly, making them suitable for handling large XML files. They work by detecting XML elements, attributes, and content through events, triggering callbacks to handle the data as it is being parsed. Therefore, the correct answer is "An XML parser".

Submit
6. You should use a SAX parser if a DOM parser is unable to load the XML document into memory.

Explanation

A SAX (Simple API for XML) parser is a better choice when dealing with large XML documents because it processes the document sequentially and does not load the entire document into memory. This makes it more efficient in terms of memory usage and processing speed. In contrast, a DOM (Document Object Model) parser loads the entire XML document into memory, which can be a problem if the document is too large. Therefore, if a DOM parser is unable to load the XML document into memory due to its size, it is recommended to use a SAX parser instead.

Submit
7. XML is more advantageous to use than a fixed-length database system because:

Explanation

The correct answer is "All of the above". XML is advantageous to use over a fixed-length database system because of multiple reasons. Firstly, the faster computers of today can handle XML efficiently. Secondly, it saves money by reducing IT expenses as XML does not require a dedicated database management system. Lastly, XML is designed to be easily understandable, even for those without an IT background, making it accessible to a wider range of users. Therefore, all of these reasons make XML more advantageous than a fixed-length database system.

Submit
8. #PCDATA refers to

Explanation

#PCDATA refers to Parsed Character Data. Parsed character data is the content within an XML element that is parsed and processed by an XML parser. It represents character data that is not marked up with any XML tags or attributes. This data is treated as text and is not interpreted as markup or code. Therefore, the correct answer is "Parsed character data."

Submit
9. All XML markup tags must have an attribute.

Explanation

XML markup tags do not necessarily have to have an attribute. An XML tag can exist without any attributes and still be valid. Attributes provide additional information about the tag, but they are not mandatory for the tag to be considered valid XML. Therefore, the statement "All XML markup tags must have an attribute" is false.

Submit
10. A regular expression can be used to specify complex restrictions for the content of an element.

Explanation

Regular expressions are a powerful tool for specifying patterns in strings. They can be used to define complex restrictions for the content of an element by matching specific patterns or sequences of characters. Regular expressions allow for precise control over what is considered valid or acceptable content, making them useful in various applications such as form validation or data extraction. Therefore, the statement that a regular expression can be used to specify complex restrictions for the content of an element is true.

Submit
11. PCDATA is

Explanation

PCDATA stands for Parsed Character Data in XML. It is a type of XML element that contains text or character data that has been parsed and is not used for defining data specific to a PC or containing other XML elements. PCDATA elements are used to represent the actual content within an XML document, such as text, numbers, or symbols. They are different from other XML elements that define the structure or hierarchy of the document. Therefore, the correct answer is "An XML element that contains parsed character data."

Submit
12. All XML markup tags must have an attribute.

Explanation

XML markup tags do not necessarily have to have an attribute. In XML, tags can be used to define the structure and content of the data, and attributes are optional additional information that can be associated with the tags. So, it is not mandatory for all XML markup tags to have an attribute.

Submit
13. A facet is a valid value that can be assigned to an attribute.

Explanation

A facet is a valid value that can be assigned to an attribute. This means that when defining an attribute, there are certain valid values or options that can be assigned to it, and these options are known as facets. Therefore, the statement that "A facet is a valid value that can be assigned to an attribute" is true.

Submit
14. A Stream is a series of characters that can be the results of transformation performed by a Java transformer.

Explanation

The statement is true because a Stream in Java is indeed a series of characters that can be the result of a transformation performed by a Java transformer. Streams are used to process collections of data in a functional programming style, allowing for operations such as filtering, mapping, and reducing. These operations can be performed on the elements of the Stream to transform and manipulate the data. Therefore, the given statement accurately describes the nature and purpose of Streams in Java.

Submit
15. The doc() function retrieves an XML document.

Explanation

The doc() function is indeed used to retrieve an XML document. It is a built-in function in many programming languages and is commonly used to access and manipulate XML data. By providing the file path or URL of the XML document as an argument to the doc() function, the document can be loaded and processed in the program. Therefore, the statement "The doc() function retrieves an XML document" is correct.

Submit
16. An attribute contains a

Explanation

In XML, an attribute is a characteristic of an element that provides additional information about the element. It consists of a name/value pair, where the name represents the attribute's identifier and the value represents the data associated with that attribute. This allows for the organization and structure of data within an XML document. Therefore, the correct answer is "Name/value pair".

Submit
17. An XML document can be validated against a DTD by calling the validate() method.

Explanation

The validate() method in XML can be used to validate an XML document against a Document Type Definition (DTD). This method checks the structure and content of the XML document to ensure it conforms to the rules specified in the DTD. Therefore, the statement "An XML document can be validated against a DTD by calling the validate() method" is true.

Submit
18. XML is a subset of:

Explanation

XML is a subset of SGML (Standard Generalized Markup Language). SGML is a markup language that defines the rules for creating document types, allowing the definition of customized markup languages. XML was developed as a simplified version of SGML, with stricter rules and a smaller set of features. XML retains the hierarchical structure and markup capabilities of SGML, making it a subset of SGML. HTML (Hypertext Markup Language) is a separate markup language used for creating web pages and is not a subset of SGML. MGL is not a recognized markup language, so it is not a subset of SGML either.

Submit
19. You can specify a series of valid values for an element by using which of the following in a regular expression?

Explanation

In a regular expression, you can specify a series of valid values for an element by using the "|" symbol, also known as the "pipe" symbol. This symbol acts as an "OR" operator, allowing you to match any of the values separated by the pipe. For example, if you have the regular expression "cat|dog", it will match either "cat" or "dog".

Submit
20. The appendChild() appends a node to the end of an XML document.

Explanation

The appendChild() method is used to add a new child node to the end of the specified XML document. Therefore, the given statement "The appendChild() appends a node to the end of an XML document" is true. This method is commonly used in XML manipulation to add new elements or nodes to an existing XML structure.

Submit
21. The loadXML() method is used when the document is passed as a string.

Explanation

The loadXML() method is used when the document is passed as a string. This method is commonly used in XML parsing to load an XML document from a string representation. It allows developers to easily parse XML data without the need for an external file. By passing the XML document as a string, the loadXML() method can efficiently process and parse the XML data, making it a suitable choice when working with XML documents in string format.

Submit
22. An element name can begin with

Explanation

All of the options listed (a colon, an underscore, and letters) can be used as the first character in an element name. In XML and HTML, a colon is used to indicate a namespace prefix. An underscore is a valid character in an element name. And letters are commonly used as the first character in element names. Therefore, all of the options are correct.

Submit
23. The <xsl:for-each select=ficustomers/customerfl> statement states:

Explanation

The given correct answer states that the statement is used to iterate over each customer element in the source document that is a child of customers. This means that the code will perform a specific action for each customer element that is nested inside the customers element in the source document.

Submit
24. The SAX parser reacts to a new element by using:

Explanation

The SAX parser reacts to a new element by using the startElement() method. This method is called when the parser encounters the start of an XML element. It provides information about the element's name, attributes, and namespace. This allows the parser to process the element and its contents accordingly. The startElement() method is an essential part of the SAX parsing process as it enables the parser to handle each element in the XML document.

Submit
25. XML stores data in fixed lengths.

Explanation

XML does not store data in fixed lengths. In fact, XML is a markup language that uses tags to define elements and structure data, allowing for flexibility in terms of the length and content of the data being stored. XML allows for the representation of hierarchical relationships and can store data of varying lengths and types within its elements. Therefore, the given statement is false.

Submit
26. A processing command is removed from an XML document before the XML document is passed along to the application that uses the XML document.

Explanation

The given statement is false because processing commands in an XML document are not removed before it is passed along to the application that uses the XML document. Processing commands, also known as processing instructions, provide instructions to the application on how to process the XML document. They are typically enclosed within "" and "?>" tags and are not removed from the document.

Submit
27. XML can only be transformed into HTML or XHTML.

Explanation

XML can be transformed into various formats, not just HTML or XHTML. XML is a flexible markup language that can be used to represent structured data, and it can be transformed into different output formats using technologies like XSLT (eXtensible Stylesheet Language Transformations). These transformations can convert XML into formats such as PDF, CSV, JSON, or even other XML formats. Therefore, the statement that XML can only be transformed into HTML or XHTML is incorrect.

Submit
28. Only a browser can access a result document.

Explanation

This statement is false because a browser is not the only way to access a result document. Other applications or software can also be used to access a result document, such as text editors or document viewers. Therefore, the statement is not accurate.

Submit
29. An image tag is an example of an EMPTY element.

Explanation

An image tag is considered an example of an EMPTY element because it does not require a closing tag. The tag is used to display an image on a webpage, and it does not contain any content or text within it. It only requires attributes to specify the source and other properties of the image. Therefore, it is classified as an EMPTY element.

Submit
30. The xs:enumeration tag is used to define a valid value for an attribute.

Explanation

The xs:enumeration tag is indeed used to define a valid value for an attribute. It is a part of the XML Schema language and is used to restrict the possible values that can be assigned to an attribute. By using the xs:enumeration tag, a specific list of allowed values can be defined, ensuring that only those values are considered valid for the attribute.

Submit
31. The DOCTYPE is used to:

Explanation

The DOCTYPE is used to identify the DTD (Document Type Definition) for an XML document. The DTD defines the structure, elements, and attributes that are allowed in the XML document. By specifying the DOCTYPE, the XML parser knows which set of rules to follow when parsing and validating the XML document. This helps ensure that the XML document is well-formed and conforms to the specified DTD.

Submit
32. MSXML can only be used with JavaScript.

Explanation

MSXML can be used with multiple programming languages, not just JavaScript. It is a set of services that allows developers to build XML-based applications. These applications can be developed using various programming languages such as C++, C#, VBScript, and JavaScript. Therefore, the statement that MSXML can only be used with JavaScript is false.

Submit
33. A parent element cannot contain another parent element.

Explanation

This statement is false. A parent element can indeed contain another parent element. In HTML, for example, it is common to have nested div elements, where one div element acts as the parent and contains another div element as its child. This allows for hierarchical structuring of elements on a webpage.

Submit
34. You cannot set valid options when declaring an attribute.

Explanation

When declaring an attribute, it is possible to set valid options. This allows the attribute to only accept certain values that meet specific criteria. By setting valid options, you can ensure that the attribute only receives input within the specified range or criteria, making it easier to validate and control the data being assigned to the attribute. Therefore, the statement "You cannot set valid options when declaring an attribute" is false.

Submit
35. Saxon-B is the only software that can process an XQuery.

Explanation

The given statement is false. There are multiple software programs available that can process an XQuery, not just Saxon-B. Therefore, the statement is incorrect.

Submit
36. FirstChild is a

Explanation

The correct answer is "Property containing a reference to the first child of an element." This means that the firstChild property is used to access the first child element of a parent element in the DOM (Document Object Model). It does not involve any methods or substitution of nodes.

Submit
37. The asterisk at the end of an element name in a DTD means its:

Explanation

The asterisk at the end of an element name in a DTD means that the DTD contains zero to many of this element. This indicates that the element is optional and can occur multiple times or not at all in the XML document that adheres to the DTD.

Submit
38. What is the address, phone in the declaration?

Explanation

The correct answer is A group. This suggests that the address and phone are part of a group or category within the declaration. The other options mention concatenating the value of email with the address and phone, but the answer does not specify this.

Submit
39. Xmlns:xs=fihttps://www.w3.org/2001/XMLSchemafl is used to:

Explanation

The XML namespace declaration xmlns:xs="http://www.w3.org/2001/XMLSchema" is used to identify the XML schema specifications used in the XML schema. It specifies that the XML schema is using the XML Schema Definition (XSD) language for defining the structure and constraints of the XML document. By declaring this namespace, it allows the schema to reference and use the elements, types, and attributes defined in the XML Schema specification.

Submit
40. A Java transformer can use:

Explanation

A Java transformer can use its own stylesheet, DTD, and XSLT. This means that it has the capability to apply transformations to XML documents using different stylesheets, validate the structure and content of XML documents using DTD, and perform complex transformations using XSLT. By having access to all of these options, the Java transformer provides flexibility and versatility in manipulating XML data.

Submit
41. The same version of a DOM parser must be used on all computers.

Explanation

Different versions of a DOM parser can be used on different computers as long as they are compatible with the particular version of the DOM specification being used. There is no requirement for all computers to use the exact same version of the DOM parser. Therefore, the statement is false.

Submit
42. What does the parser do with the CDATA section of an XML document?

Explanation

The parser passes the CDATA section of an XML document to the application that uses the XML document without any translation or interpretation. This means that the data within the CDATA section is treated as raw text and is not processed or modified by the parser. It is directly handed over to the application, allowing it to handle the data according to its specific requirements.

Submit
43. $x is an

Explanation

The given answer, "Variable," is correct because the statement "$x is an" implies that $x is being defined as something. In this context, "Variable" is the most logical choice as it is a common term used in programming languages to represent a value that can change. It is likely that $x is being used as a placeholder for a value that will be assigned or modified later in the code.

Submit
44. The where clause:

Explanation

The where clause in a query is used to specify the filter criteria for selecting specific data from a database. It allows the user to define conditions that must be met in order for the query to return results. In this context, the where clause is not used to locate the XML document or the output file, but rather to filter the data based on specific criteria. Therefore, the correct answer is "Specifies the filter criteria."

Submit
45. Special symbols can be inserted into an XML document using:

Explanation

Special symbols can be inserted into an XML document using a UNICODE value. UNICODE is a universal character encoding standard that assigns a unique number to every character in almost every writing system. By using a UNICODE value, special symbols that are not directly supported by XML can be represented and inserted into the document. This allows for the inclusion of a wide range of characters from different languages and symbol sets in XML documents.

Submit
46. Xsi:schemaLocation=ficustomers.xsdfl is used to

Explanation

The xsi:schemaLocation attribute in an XML document is used to specify the location of the XML schema that defines the structure and constraints of the document. It provides a reference to the location of the schema file, allowing the XML parser to validate the document against the specified schema. This attribute is used to ensure that the XML document adheres to the defined rules and structure specified in the schema.

Submit
47. The Document Object Model:

Explanation

The Document Object Model (DOM) is not an XML parser, but rather a programming interface that represents the structure of an XML document as a tree-like model. It provides methods and properties to access, manipulate, and update the elements and attributes of the XML document. The DOM allows developers to programmatically interact with XML documents, parse them, and perform various operations on them.

Submit
48. What kind of clause is used to specify the filter criteria?

Explanation

The correct answer is "where clause". In SQL, the where clause is used to specify the filter criteria for a query. It allows you to retrieve specific rows from a table based on certain conditions. The where clause is an essential component of SQL statements as it helps in narrowing down the results and retrieving only the desired data. It is used to filter data based on one or more conditions, making the query more specific and targeted.

Submit
49. The <xsl:value-of> element is used to:

Explanation

The element is used to extract text from the source document. This element is commonly used in XSLT to select and output the value of a specified node or attribute from the XML source document. It allows the transformation to retrieve specific data from the source document and include it in the transformed output.

Submit
50. Order by:

Explanation

This answer suggests that the default behavior of the given action is to arrange the return values in ascending order.

Submit
51. You avoid conflict between an XML special character and information in an XML document by using a comment.

Explanation

Using a comment in an XML document does not help avoid conflict between an XML special character and the information in the document. Comments in XML are used for adding notes or explanations about the code and do not affect the interpretation of the XML data. To avoid conflicts with special characters, proper encoding techniques should be used, such as using entities or CDATA sections to represent special characters.

Submit
52. Type=fiintegerfl means

Explanation

The correct answer is "Only integers can be used in the corresponding element." This means that when the type is specified as "fiintegerfl", it indicates that only integers can be used in the corresponding element. This implies that any other type, such as strings, floats, or booleans, cannot be used in that element.

Submit
53. CreateElement(fititlefl) means

Explanation

The function `createElement(fititlefl)` is used to create a new XML element.

Submit
54. Fi/catalog/cd[@upc=fi + upc + fi] means

Explanation

The correct answer is "Find the upc attribute that matches the value of the upc variable in the cd element." This is because the XPath expression "fi/catalog/cd[@upc=fi + upc + fi]" is looking for the upc attribute within the cd element that has a value matching the value of the upc variable.

Submit
55. You must use a parser to read an XML document.

Explanation

An XML document can be read without necessarily using a parser. There are other methods and tools available for reading XML documents, such as using DOM (Document Object Model) or SAX (Simple API for XML) APIs. These APIs allow developers to access and manipulate XML data without explicitly using a parser. Therefore, the statement "You must use a parser to read an XML document" is false.

Submit
56. An XML document must contain all elements declared in the DTD.

Explanation

An XML document does not have to contain all elements declared in the DTD. The DTD (Document Type Definition) defines the structure and rules for the XML document, but it does not enforce that all elements must be present in the XML document. XML documents can be valid even if they do not include all elements declared in the DTD. Therefore, the correct answer is False.

Submit
57. Which of the following is represented as a node in the tree a DOM parser creates?

Explanation

A DOM parser creates a tree-like structure called the Document Object Model (DOM) to represent an HTML or XML document. In this tree, each element, including CDATA sections, comments, and regular elements, is represented as a node. Therefore, the correct answer is "All of the above."

Submit
58. A SAX parser

Explanation

A SAX parser reads a block of an XML document at a time, rather than loading the entire document into memory. It sequentially processes the XML elements and triggers events as it encounters them, allowing for efficient parsing of large XML files. This approach is beneficial in scenarios where memory usage is a concern or when processing large XML files in a streaming manner is required.

Submit
59. The async = false means

Explanation

The correct answer is "Statements will not execute until the XML document is being loaded." When the "async" attribute is set to false, it means that the XML document will be loaded synchronously, and the execution of statements will be paused until the document is fully loaded. This ensures that the code does not continue executing before the XML data is available, allowing for proper handling and manipulation of the XML data.

Submit
60. The xs:sequence tag

Explanation

The xs:sequence tag is used in an XML schema to specify the sequence in which elements must appear in an XML document. It defines the order in which elements should be arranged within the XML document, ensuring that they appear in a specific sequence as defined by the schema. This helps in maintaining the structure and integrity of the XML data.

Submit
61. Instructions for transforming an XML document are contained in the:

Explanation

The correct answer is XSL stylesheet. XSL stands for Extensible Stylesheet Language, and it is used to transform XML documents into different formats such as HTML or PDF. XSL stylesheets contain instructions on how to transform the XML document, including specifying the structure, formatting, and presentation of the output. CSS (Cascading Style Sheets) is used for styling HTML documents, not XML. XSLT (XSL Transformations) is a language used for transforming XML documents, and XSL is a subset of XSLT. Therefore, the XSL stylesheet is the correct answer as it specifically refers to the stylesheet used for transforming XML documents.

Submit
62. The <xsl:for-each> element contains only XSL elements.

Explanation

The element does not contain only XSL elements. It is a looping construct in XSLT that allows you to iterate over a selected set of nodes and perform actions on each node. Inside the element, you can include any valid XSLT instructions, such as , , , etc. Therefore, the statement is false.

Submit
63. All functions used by an XQuery are built-in functions.

Explanation

The statement is false because not all functions used by an XQuery are built-in functions. XQuery allows users to define their own functions in addition to using the built-in functions. These user-defined functions can be customized to perform specific tasks or operations based on the requirements of the query. Therefore, the statement is incorrect as it implies that all functions used in XQuery are built-in functions.

Submit
64. A constructor

Explanation



A constructor is a special type of function within a class that initializes objects of that class. It is invoked automatically when an object of the class is created, allowing for the initialization of member variables and setup of the object's initial state.
Submit
65. The version is specified in ActiveXObject(fiMSXML2.DOMDocument.4.0fl) because

Explanation

The version is specified in ActiveXObject(fiMSXML2.DOMDocument.4.0fl) because versions are designed to coexist with previous versions. This means that different versions of the XML document can be used without causing conflicts or compatibility issues. By specifying the version, it ensures that the correct version of the XML document is used and any potential conflicts are identified and resolved.

Submit
66. The data() function returns the text value of a variable.

Explanation

The data() function does not return the text value of a variable. It is used to retrieve the data value of the selected element, which can be text or other types of data. Therefore, the correct answer is False.

Submit
67. The <xsl:if> element instructs the CSS to evaluate a condition before extracting an element.

Explanation

The element is not related to CSS, but rather it is used in XSLT (Extensible Stylesheet Language Transformations) to conditionally process elements in an XML document. It allows you to specify a condition that must be true for the element to be processed. Therefore, the statement that the element instructs the CSS to evaluate a condition before extracting an element is incorrect.

Submit
68. The round-half-to-even() function rounds half the value returned by a function.

Explanation

The given statement is false. The round-half-to-even() function does not round half the value returned by a function. It is a rounding method where if the number to be rounded is exactly halfway between two others, it is rounded to the nearest number that is even. This method is also known as "banker's rounding" or "unbiased rounding".

Submit
69. The <xsl:value-of select=fi@id=Jimfi/> statement is used to:

Explanation

The given XSL statement "selects the id attribute" from the XML document. It does not select the Jim element or the Jim attribute specifically, but rather selects the attribute with the name "id".

Submit
70. The SAX parser creates a node by using:

Explanation

The SAX parser does not create nodes using any of the mentioned methods. Instead, it reads an XML document sequentially and triggers events for each element, attribute, and text encountered. It does not create or manipulate nodes directly, but rather provides a mechanism for developers to handle these events and perform desired actions accordingly.

Submit
71. The SAX parser is able to transverse an XML document.

Explanation

The statement is false because the SAX parser is not able to traverse an XML document. Unlike the DOM parser, which builds a tree structure of the entire XML document in memory, the SAX parser works in a streaming manner and does not store the entire document. Instead, it reads the XML document sequentially and triggers events for specific elements or attributes. This makes it more memory-efficient but also means that it does not traverse the document in the same way as the DOM parser.

Submit
72. You can repeat lines of code within the XSL stylesheet by defining an apply-template.

Explanation

The statement is false because the apply-template function in XSLT is used to process nodes in the XML document, not to repeat lines of code within the stylesheet. It allows the XSLT processor to match and apply templates to specific nodes in the XML document based on their match patterns.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 28, 2024 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 28, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Aug 08, 2008
    Quiz Created by
    C0705K
Cancel
  • All
    All (72)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
XML is used for web services.
An XML element can contain other XML elements.
You can require a specific value for an attribute by setting the value...
An XML schema is used to define a complex type....
SAX is
You should use a SAX parser if a DOM parser is unable to load the XML...
XML is more advantageous to use than a fixed-length database system...
#PCDATA refers to
All XML markup tags must have an attribute.
A regular expression can be used to specify complex restrictions for...
PCDATA is
All XML markup tags must have an attribute.
A facet is a valid value that can be assigned to an attribute.
A Stream is a series of characters that can be the results of...
The doc() function retrieves an XML document.
An attribute contains a
An XML document can be validated against a DTD by calling the ...
XML is a subset of:
You can specify a series of valid values for an element by using which...
The appendChild() appends a node to the end of an XML document.
The loadXML() method is used when the document is passed as a string.
An element name can begin with
The <xsl:for-each select=ficustomers/customerfl> statement...
The SAX parser reacts to a new element by using:
XML stores data in fixed lengths.
A processing command is removed from an XML document before the XML...
XML can only be transformed into HTML or XHTML.
Only a browser can access a result document.
An image tag is an example of an EMPTY element.
The xs:enumeration tag is used to define a valid value for an...
The DOCTYPE is used to:
MSXML can only be used with JavaScript.
A parent element cannot contain another parent element.
You cannot set valid options when declaring an attribute.
Saxon-B is the only software that can process an XQuery.
FirstChild is a
The asterisk at the end of an element name in a DTD means its:
What is the address, phone in the declaration?
Xmlns:xs=fihttps://www.w3.org/2001/XMLSchemafl is used to:
A Java transformer can use:
The same version of a DOM parser must be used on all computers.
What does the parser do with the CDATA section of an XML document?
$x is an
The where clause:
Special symbols can be inserted into an XML document using:
Xsi:schemaLocation=ficustomers.xsdfl is used to
The Document Object Model:
What kind of clause is used to specify the filter criteria?
The <xsl:value-of> element is used to:
Order by:
You avoid conflict between an XML special character and information in...
Type=fiintegerfl means
CreateElement(fititlefl) means
Fi/catalog/cd[@upc=fi + upc + fi] means
You must use a parser to read an XML document.
An XML document must contain all elements declared in the DTD.
Which of the following is represented as a node in the tree a DOM...
A SAX parser
The async = false means
The xs:sequence tag
Instructions for transforming an XML document are contained in the:
The <xsl:for-each> element contains only XSL elements.
All functions used by an XQuery are built-in functions.
A constructor
The version is specified in ActiveXObject(fiMSXML2.DOMDocument.4.0fl)...
The data() function returns the text value of a variable.
The <xsl:if> element instructs the CSS to evaluate a condition...
The round-half-to-even() function rounds half the value returned ...
The <xsl:value-of select=fi@id=Jimfi/> statement is used to:
The SAX parser creates a node by using:
The SAX parser is able to transverse an XML document.
You can repeat lines of code within the XSL stylesheet by defining an...
Alert!

Advertisement