XQuery

XQuery Examples

Example

XQUERY Interview Questions And Answers

More interview questions and answers

XQuery is an a. query language for html. b. query language for xhtml. c. query language for xml. d. query language for css.

c. query language for xml.

XQuery for XML is like as SQL for a. tables b. database c. My SQL

 b. database

Which is/are wrong in XQuery a. Used for transforing XML data into XHTML. b. Used for search web documents. c. Used to generate tables for XSLT.

c. Used to generate tables for XSLT.

XQuery 1.0 has W3C recommendation since a. 23 Jan 2007 b. 24 Jan 2007 c. 22 Jan 2007

a. 23 Jan 2007

.... function used to open file in xml data. a. file() b. fopen() c. doc()

c. doc()

Give syntax to use doc() function. a. doc('filename.xml'); b. doc("filename.xml"); c. doc("filename.xml")

c. doc("filename.xml")

Give the no of node types that are present in XQuery. a. 7 b. 6 c. 8

a. 7 The nodes are element, attribute, text, namespace, processing-instruction, comment and document or root nodes.

Which one is not the node of XQuery. a. number b. element c. attribute

a. number

Atomic nodes are a. node with no parent or children b. node with no parent but has children c. also known as root nodes

a. node with no parent or children

Nodes those have same parent called a. children b. siblings c. elements

b. siblings

XQuery is an a. case-sensitive b. case-insensitive c. some times it is case-sensitive

a. case-sensitive

XQUERY Interview Questions And Answers