Total Questions:-24 Goto Page:
1
2 3
R4R ---> Articles--> XQuery -->XQuery Articles List
Page 1
Articles:
.... function used to open file in xml data.
a. file()
b. fopen()
c. doc()
Post Your View
Views
By:Vivek
Date:
Articles:
Atomic nodes are
a. node with no parent or children
b. node with no parent but has children
c. also known as root nodes
Post Your View
Viewsa. node with no parent or children
For More
By:Vivek
Date:
Articles:
Give syntax to use doc() function.
a. doc('filename.xml');
b. doc("filename.xml");
c. doc("filename.xml")
Post Your View
Viewsc. doc("filename.xml")
For More
By:Vivek
Date:
Articles:
Give the no of node types that are present in XQuery.
a. 7
b. 6
c. 8
Post Your View
Viewsa. 7 The nodes are element, attribute, text, namespace, processing-instruction, comment and document or root nodes.
For More
By:v
Date:
Articles:
Give us syntax rules of XQuery?
Post Your View
Views I have given you some basic syntax rules of XQuery.
1. XQuery is an case sensitive.
2. In XQuery elements , attributes and variables that we used s
For More
By:Vivek
Date:
Articles:
How to add elements and attributes with XQuery in XML data?
Post Your View
Views Consider the example "bookmart.xml".I write an expression to return litle and lang elements both.
for $a in doc("bookmart.xml")/bookstore/book/title
For More
By:Vivek
Date:
Articles:
How to define functions in XQuery?
Post Your View
Views XML has many build-in functions. XQuery functions generally made perform with string values, numeric values, date and time comparisons, boolean value
For More
By:Vivek
Date:
Articles:
How to perform comparisons in XQuery?
Post Your View
Views In XQuery we can compare the values with general comparisons and value comparisons.
1. General Comparisons : We perform general comparisons by usi
For More
By:Vivek
Date:
Articles:
How to perform conditional operations in XQuery?
Post Your View
Views I have given you how to use conditions in XQuery.
For example I told you how to use
"If-Then-Else" expressions in XQuery.
Example:
for $a in doc(
For More
By:Vivek
Date:
Articles:
How to perform operation on node using XQuery function in XML?Explain with an example?
Post Your View
Views To explain given problem first I written a example in XML.
Example:
Save the given XML file with "bookmart.xml"
<?xml version="1.0" encoding="
For More
By:Vivek
Date:
Go:
1
2 3