Tags

, ,

links:
http://www.exampledepot.com/egs/org.w3c.dom/GetRoot.html
http://www.w3schools.com/xquery/xquery_flwor.asp


- dom obj root != xml doc root
- xml doc root == xquery doc('filename')

The DOM object root isn’t the root of your xml document.

- Use “//” when using XPath to query
- do a getDocumentElement() on a DOM to get xml doc root
- beware XQuery fucntion doc('filename') would return the 
xml root of your xml document.

- FLWOR expression is used for xquery
- FLWOR : For Let Where Order-by Return

Advertisements