<!DOCTYPE TEI.2 PUBLIC '-//C. M. Sperberg-McQueen//DTD
          TEI Lite 1.0 plus SWeb (XML)//EN'
          '../../../lib/swebxml.dtd' [
<!ATTLIST list type CDATA 'bullets' >
<!ATTLIST seg  rend CDATA 'incremental' >
<!ATTLIST xref href CDATA '' >

<!ATTLIST item id ID #IMPLIED >
<!ATTLIST div id ID #IMPLIED >
<!ATTLIST item id ID #IMPLIED >

<!ENTITY date.last.touched '3 December 2012'>

<!--* 
<!ENTITY city '[CITY]'>
<!ENTITY state '[STATE]'>
<!ENTITY city-state '&city;, &state;'>
<!ENTITY course-dates '[D-D MONTH YYYY]'>
<!ENTITY earlybird-deadline '[DD MONTH YYYY]'>
<!ENTITY course-price '[$NNN]'>
<!ENTITY earlybird-price '[$MMM]'>
<!ENTITY dow1 '[DAY1]'>
<!ENTITY dow2 '[DAY2]'>
<!ENTITY course-dow '&dow1; and &dow2;'>

<!ENTITY hostorg '[HOST]'>
<!ENTITY hostorg-inc '[HOST, Inc.]'>
<!ENTITY course-address '<address>
<addrLine>[HOST]</addrLine>
<addrLine>[STREET]</addrLine>
<addrLine>[CITY, STATE, ZIP]</addrLine>
</address>'>
<!ENTITY local-info '<p>For <label>Metro directions</label>, <label>driving directions</label>,
<label>parking information</label>, and
<label>maps</label>, see
[LOCAL INFO SOURCE].
</p>

<p><label>Accessibility</label>: [ACCESSIBILITY-DESCRIPTION]
</p>
'>
*-->

<!--* for real *-->
<!ENTITY city 'Rockville'>
<!ENTITY state 'Maryland'>
<!ENTITY city-state '&city;, &state;'>
<!ENTITY course-dates '20-21 May 2013'>
<!ENTITY earlybird-deadline '26 April 2013'>
<!ENTITY course-price '$975'>
<!ENTITY earlybird-price '$875'>
<!ENTITY dow1 'Monday'>
<!ENTITY dow2 'Tuesday'>
<!ENTITY course-dow '&dow1; and &dow2;'>

<!ENTITY hostorg 'Mulberry Technologies'>
<!ENTITY hostorg-inc 'Mulberry Technologies, Inc.,'>
<!ENTITY course-address '<address>
<addrLine>Mulberry Technologies, Inc.</addrLine>
<addrLine>17 West Jefferson St., Suite 207</addrLine>
<addrLine>Rockville, MD 20850</addrLine>
</address>'>
<!ENTITY local-info '<p>For <label>Metro directions</label>, <label>driving directions</label>,
<label>parking information</label>, and
<label>maps</label>, see
the <xref href="http://www.mulberrytech.com/contact.html">Mulberry
Technologies contact page</xref>.
</p>

<p><label>Weather problems</label>: In case of inclement weather,
we will follow the <xref
href="http://www.mulberrytech.com/services/classes/snow-policy.html"
>weather policy</xref> of the host, Mulberry Technologies.  In the event
that a class day begins late, we will run late; in the event that a
class day is canceled, we will do our best to re-schedule the class as
soon as possible.
</p>

<p><label>Accessibility</label>: Mulberry&apos;s facilities are on the
second floor; access is by stairway; there is neither a ramp nor
an elevator.  For more information, please contact Black Mesa
Technologies at 505/747-4224.
</p>
'>

<!ENTITY ntilde  "&#241;" ><!-- small n, tilde -->

]>
<?xml-stylesheet type="text/xsl" href="../../../lib/courses201206.bmt.xsl"?> 
<!--* <?xml-stylesheet type="text/xsl" href="../../../lib/xforms201102.bmt.xsl"?>  *-->
<TEI.2 rend="no-sec-nums">
<teiHeader>
<fileDesc>
<titleStmt>
<title type="main">Introduction to XQuery</title>
<title type="sub">XQuery as a tool for working with natural-language documents</title>
</titleStmt>
<publicationStmt>
<pubPlace>Espa&ntilde;ola, New Mexico</pubPlace>
<publisher>Black Mesa Technologies LLC</publisher>
<date>2012</date>
</publicationStmt>
<sourceDesc>
<p>No source; created in electronic form.</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<front>
<titlePage>
<docTitle>
<titlePart>XQuery for Documents</titlePart>
<titlePart>Introduction to XQuery as a tool for working with natural-language documents</titlePart>
<!--* <titlePart>Building interactive XML tools</titlePart> *-->
</docTitle>

<titlePart type="event-loc">&city-state;</titlePart>
<titlePart type="event-date">&course-dates;</titlePart>

<!--*
<docAuthor>C. M. Sperberg-McQueen, Black Mesa Technologies LLC</docAuthor>
<docDate>rev. &date.last.touched;</docDate>
*-->
<docDate rend="footer">&date.last.touched;</docDate>
</titlePage>

<div id="navbar" type="navbar">
<head>Nearby documents</head>
<list>
<!--* <item><xref href="online.html">Online interface to Thutmose II</xref></item>
      <item><xref href="progdoc.xml">Programmers' documentation</xref></item>
    *-->
<item id="siteroot"><xref href="../../../">Home</xref></item>
</list>
</div>
</front>
<body>
<p>This two-day hands-on course introduces XQuery as a programming
language for work with natural-language documents.</p>
<p>XQuery is a query and transformation language for XML documents. It
can be used to translate XML-tagged data into HTML, to modify the
tagging of data, and (of course) to search large bodies of XML
material. Many XML processing tasks which are possible but
inconvenient in Java, C, or Python are much more convenient in XQuery.
This course will focus on the use of XQuery with natural-language
documents (books, articles, legislation, etc.) encoded in XML.
</p>
<p>Hands-on exercises will give students experience actually writing
queries for the interrogation and transformation of XML-tagged
documents. Participants should have good knowledge of XML syntax;
knowledge of XPath and XSLT (1.0 or 2.0) will be helpful but is not a
prerequisite. Familiarity with basic programming concepts (input,
output, types, flow of control will be helpful (or alternatively, the
ability to confront new concepts without fear).</p>
<div id="topics">
<head>Topics and syllabus</head>
<p>The course is divided into eight sessions, four to a day.  Topics include:
<list type="bullets">
<item id="intro"><p>Introduction</p><p>
High-level overview of XQuery, background, goals
and purpose of the XQuery spec; <q>Hello, world</q> examples.</p>
</item>
<item id="locs"><p>Location paths</p>
<p>Relative and absolute location paths; child and descendant axes;
attributes, predicates.  Other axes.</p>
<p>The XDM data model.</p>
</item>
<item id="atomics"><p>Atomic values</p>
<p>Atomic values; simple types; operations on atomic
values; important types.</p>
</item>
<item id="seqs"><p>Sequences</p>
<p>
Sequences of items; operations on sequences.</p>
</item>
<item id="flwor">
<p>FLWOR (<kw>for</kw>, <kw>let</kw>, <kw>where</kw>, <kw>order by</kw>, <kw>return</kw>) expressions;
nested expressions.
</p>
</item>
<item><p>Function declarations; modules; function libraries.
</p>
</item>
<item id="regex">
<p>Regular expressions and string manipulation</p>
<p>The standard function library.
Regular-expression functions; other string manipulations.
</p>
</item>
<item id="collections">
<p>Collections</p>
<p>Collections; operating on a collection.
</p>
</item>
<item id="fulltext">
<p>Full-text</p>
<p>The full-text extensions to XQuery.</p>
</item>
<item id="quovadis"><p>What next?  Individual work and/or Q/A</p>
<p>Where do you go from here?
Individual work <hi>or</hi> questions and answers;
wrapup.</p>
</item>
</list>
</p>

<!--*
<p><label>Resources</label>:
<xref href="slides/outline.xml">course outline</xref> (with links to slides),
<xref href="misc/xforms.resources.xml">XForms resources list</xref>,
sample <xref href="data/Gorbals/gorbals-description.xml">Gorbals census data</xref>.
</p>
*-->

</div>
<div id="prerequisites">
<head>Prerequisites</head>
<p>Participants should be comfortable reading XML documents.
Familiarity with XPath, XSLT, and XSD (XML Schema) may be helpful but is not required.
Programming experience is not required.
</p>

<p>Students may bring their own laptops or may use a
classroom machine.</p>

</div>
<div id="logistics">
<head>Logistics</head>

<div id="where-when">
<head>When and where</head>
<p>This course will be held from 9:30 a.m. to 5:30 p.m.
&course-dow;, &course-dates;, at
&course-address;
Thanks to &hostorg; for hosting the course.
</p>
&local-info;
<!--* weather problems, natural catastrophes ... *-->
<!--*
<p><label>Accessibility</label>:  no problems reported.</p>
*-->
</div>

<div id="who">
<head>Who</head>
<p>The course is organized by Black Mesa Technologies LLC and 
will be taught by 
<xref href=".../../../who/cmsmcq/">C. M. Sperberg-McQueen</xref>.
</p>
<p>
Michael Sperberg-McQueen 
is the founder of Black Mesa Technologies.
He has served as co-editor of the XML 1.0 specification, the
Text Encoding Initiative's 
<title>Guidelines for Text Encoding and Interchange</title>, 
and the XML Schema Definition Language (XSD) 1.1 specification;
in 2003 he was awarded the XML Cup for contributions to the
development and spread of XML.
</p>
<p>
&hostorg-inc; is providing space (for which thanks),
but has no other involvement with the course.</p>
</div>

<div id="breaks">
<head>Breaks and meals</head>
<p><label>Breaks</label>: Coffee and simple pastries will be provided.
</p>
<p><label>Lunch</label>:  For lunch, you are on your own.
A list of nearby eateries will be provided; you are also welcome
to bring your own lunch.</p>
</div>

<div id="price">
<head>Price</head>
<p>&course-price; per student.</p>
<p>Payment can be made by check, credit card, Paypal payment, or government training/purchase
order on or before the first day
of class.</p>
<p><label>Early-bird discount</label>:  For payments received before &earlybird-deadline;,
a ten percent discount is offered (&earlybird-price; instead of &course-price; for the course).
</p>
</div>

<div id="reg">
<head>Registration / Info</head>
<p>Space in the course is limited.</p>
<p>To reserve a space, to register, or to ask for
more information, please send email to
<xref href="mailto:info@blackmesatech.com">info@blackmesatech.com</xref> or call us at
505/747-4224. </p>
</div>

<div id="announcements">
<head>Announcements of future courses</head>
<p>To receive announcements of future Black Mesa Technologies
courses on XForms and other topics, you can subscribe to
<xref href="http://lists.blackmesatech.com/blackmesatech-announce-l/"
>blackmesatech-announce-l</xref>. </p>
</div>

</div>
</body>
</text>
</TEI.2>
<!-- Keep this comment at the end of the file
Local variables:
mode: xml
sgml-default-dtd-file:"/Library/SGML/Public/Emacs/sweb.ced"
sgml-omittag:t
sgml-shorttag:t
End:
-->
