Help:COAP-3180/hw4: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 21: Line 21:
=== Open an XML file in an XML editor ===
=== Open an XML file in an XML editor ===


; Learning how to use the XML Exchanger editor:
* Launch XML Exchanger lite.
* Launch XML Exchanger lite.
** In the left panel open all the files under xquery
** In the left panel open all the files under xquery
Line 27: Line 28:
** Note: You can find the xq file somewhere near the same place  
** Note: You can find the xq file somewhere near the same place  
* Repair the result file. There are some useless tags.
* Repair the result file. There are some useless tags.
; Other XML examples:


* Other examples files can be found on the N drive
* Other examples files can be found on the N drive
Line 44: Line 47:
'''Reading'''
'''Reading'''
* Ronald Bourret (2005). XML and Databases, http://www.rpbourret.com/xml/XMLAndDatabases.htm
* Ronald Bourret (2005). XML and Databases, http://www.rpbourret.com/xml/XMLAndDatabases.htm
* Darshan Singh, Essential XQuery - The XML Query Language, http://www.yukonxml.com/articles/xquery/
* Darshan Singh, Essential XQuery - The XML Query Language, http://www.yukonxml.com/articles/xquery/ (skip the part about functions)
* XQuery http://en.wikipedia.org/wiki/XQuery (Wikipedia)
* XQuery http://en.wikipedia.org/wiki/XQuery (Wikipedia)


=== Reference ===
=== Reference ===


You can find additional links and more tutorials here:
* [[XQuery]]
* [[XQuery_tutorial - basics]] (no tutorial so far, just links)
* [[XML database]]


=== Slides ===
=== Slides ===

Revision as of 20:21, 25 November 2007

Homework 4 - COAP 3180 Fall 2 2007

COAP 3180 Course Page

Summary

  • Write some Xquery code to retrieve data from an XML collection

Part 1

  • Find somewhere or create a file with some XML data (at least 1 page long)
  • Write at least two different XQuery expressions to retrieve data from this file

Due: Monday Week 6

Part 2

To be announced...

Classroom activities

Open an XML file in an XML editor

Learning how to use the XML Exchanger editor
  • Launch XML Exchanger lite.
    • In the left panel open all the files under xquery
    • Click on the bottom tab with the books.xml file
    • In the menubar select Transform->XQuery
    • Note: You can find the xq file somewhere near the same place
  • Repair the result file. There are some useless tags.
Other XML examples
  • Other examples files can be found on the N drive

Files from Essential XQuery - The XML Query Language

Also some more ambitious

Reading and links

Reading

Reading

Reference

You can find additional links and more tutorials here:

Slides

Prerequisites and catchup (if needed)