Here are some basic syntax rules of XQuery.
1. XQuery is an case sensitive.
2. In XQuery elements , attributes and variables that we use should have valid XML names.
3. Should write XQuery with in single and double quotes.
4. We defined XQuery variable with like: $(variable name).
5. We can write XQuery comments between colon(:).
Ex: (:Comment in XQuery:)
Asked In: Many Interviews |