<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Library Web Chic &#187; arl</title>
	<atom:link href="http://www.librarywebchic.net/wordpress/tag/arl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.librarywebchic.net/wordpress</link>
	<description>Resources for librarians who are interested in the application of web design and technologies in libraries</description>
	<lastBuildDate>Thu, 15 Jul 2010 20:13:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Web Development with XML Workshop Day 4</title>
		<link>http://www.librarywebchic.net/wordpress/2007/05/29/web-development-with-xml-workshop-day-4/</link>
		<comments>http://www.librarywebchic.net/wordpress/2007/05/29/web-development-with-xml-workshop-day-4/#comments</comments>
		<pubDate>Tue, 29 May 2007 15:52:45 +0000</pubDate>
		<dc:creator>Karen</dc:creator>
				<category><![CDATA[Notes from the Field]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[arl]]></category>
		<category><![CDATA[workshop]]></category>

		<guid isPermaLink="false">http://www.librarywebchic.net/wordpress/2007/05/29/web-development-with-xml-workshop-day-4/</guid>
		<description><![CDATA[(Sorry I&#8217;m a bit late getting this out!) The focus of day 4 of the XML workshop was XQuery. Yet another topic I don&#8217;t have much experience with and have been slightly intimidated by up until this point. Patrick Yott showed us that each XQuery is typically based on the FLWOR module:

For
Let
Where
Order
Return

Using this basic model [...]]]></description>
			<content:encoded><![CDATA[<p>(Sorry I&#8217;m a bit late getting this out!) The focus of day 4 of the XML workshop was XQuery. Yet another topic I don&#8217;t have much experience with and have been slightly intimidated by up until this point. Patrick Yott showed us that each XQuery is typically based on the FLWOR module:</p>
<ul>
<li>For</li>
<li>Let</li>
<li>Where</li>
<li>Order</li>
<li>Return</li>
</ul>
<p>Using this basic model is a very easy to construct simple XQueries.</p>
<p>Other interesting XQuery tricks.</p>
<ul>
<li>You can get distinct values using fn:distinct-values</li>
<li>You can create your own functions. (Use the local namespace for these functions. This namespace already exists in XQuery.)</li>
</ul>
<p>Most of this day was hands on stuff that involved XQuery and eXist. I really MUST get eXist permenantly installed on a test server here. Although truthfully that isn&#8217;t likely to happen until sometime AFTER the madness of ALA. Honestly, I came away from the workshop thinking &#8220;Wow, I understand enough of this to actually DO something productive.&#8221; This is always a good feeling because I can go back to the resources I was looking at before and they make much more sense now. Also getting contact who I can ask questions about XML-related stuff is always a plus. I&#8217;m sure I&#8217;ll need them in the not so distance future as UH embarks on more digital library efforts and real Web Services.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.librarywebchic.net/wordpress/2007/05/29/web-development-with-xml-workshop-day-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Development with XML Workshop Day 3</title>
		<link>http://www.librarywebchic.net/wordpress/2007/05/24/web-development-with-xml-workshop-day-3/</link>
		<comments>http://www.librarywebchic.net/wordpress/2007/05/24/web-development-with-xml-workshop-day-3/#comments</comments>
		<pubDate>Thu, 24 May 2007 12:09:40 +0000</pubDate>
		<dc:creator>Karen</dc:creator>
				<category><![CDATA[Notes from the Field]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[arl]]></category>
		<category><![CDATA[workshop]]></category>

		<guid isPermaLink="false">http://www.librarywebchic.net/wordpress/2007/05/24/web-development-with-xml-workshop-day-3/</guid>
		<description><![CDATA[The morning of day 3 focused on advanced XSLT; primarily conditionals such as &#60;xsl:if&#62;, &#60;xsl:choose&#62;, &#60;xsl:when&#62;, and &#60;xsl:otherwise&#62;. There was also discussion of XSLT functions such as position(), last(), and name(). name() is really helpful if you want to know what the name of a given node is or use the name of a given [...]]]></description>
			<content:encoded><![CDATA[<p>The morning of day 3 focused on advanced XSLT; primarily conditionals such as &lt;xsl:if&gt;, &lt;xsl:choose&gt;, &lt;xsl:when&gt;, and &lt;xsl:otherwise&gt;. There was also discussion of XSLT functions such as position(), last(), and name(). name() is really helpful if you want to know what the name of a given node is or use the name of a given node in the document you are producing. When you test the following syntax is helpful:</p>
<ul>
<li>= &#8211; equal to (this can also mean node exists)</li>
<li>!= &#8211; not equal to (this can also mean node does not exist)</li>
<li>&lt; &#8211; less than</li>
<li>&gt; &#8211; greater than</li>
</ul>
<p>contains() is also an interesting function to use to test if the text of a given node contains a string. The instructors didn&#8217;t talk about starts-with() which does something similar and I like to use as well.</p>
<p>We also learned about combining documents using the document() function. I&#8217;d never used this before. It was SO cool and helpful. What the document() function does is allow you to import content from another document into your stylesheet. So if you have a list of people in one xml files and bios in another xml file then you can use this function in your XSLT to get content from both xml files. To do this you get need to get the content from the other xml document. This is done using &lt;xsl:variable name=&#8221;variable_name&#8221; select=&#8221;document(&#8216;filename.xml&#8217;)/&gt; This maps the xml document&#8217;s content to the variable_name. You can then access this content using the following XPath syntax $variable_name/xpath/to/node</p>
<p>A significant part of the afternoon was spent working on creating XSLTs from scratch.  This was really good practice for me because the document we were asked to style was pretty complicated. There were lots of nested tags and tags with both nodes and text in them, which creates a little bit of a challenge.</p>
<p>The last part of the day was a discussion of how xml is being used in libraries today. Patrick Yott talked about METS how it can be used to model complex digital objects, and combine different types of metadata into a single record (descriptive metadata, technical metadata, and structural metadata [relationships between files]). METS can also be used to move files from one system to another.</p>
<p>Brown is using the following metadata standards for their digital objects.</p>
<ul>
<li>METS</li>
<li>MODS</li>
<li>MIX</li>
<li>METSRights</li>
</ul>
<p>Brown creates a lot of their MODS for their digital object from the EAD finding aids for the collections that the objects were digitized from. They also use an XLST to check to see if a created MODS record has all of the necessary (according to Brown) elements filled in.</p>
<p>Then Matthew Gibson talked about XSL-FO (Formating Objects) FO processors, Apache FOP. Up until this point I&#8217;ve been kind of terrified of trying to write an XSL-FO. However, Matthew did a good job a explaining the basics in a really short time (less than an hour). He also provided examples that we could download from the class site and play with later. XSL-FO seems a lot less intimidating now. I&#8217;m hoping to try out some of my newly acquired skills to do a transformation from our EAD to printed PDFs. This will really make our Special Collections folks happy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.librarywebchic.net/wordpress/2007/05/24/web-development-with-xml-workshop-day-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Development with XML Workshop Day 2</title>
		<link>http://www.librarywebchic.net/wordpress/2007/05/23/web-development-with-xml-workshop-day-2/</link>
		<comments>http://www.librarywebchic.net/wordpress/2007/05/23/web-development-with-xml-workshop-day-2/#comments</comments>
		<pubDate>Wed, 23 May 2007 12:22:08 +0000</pubDate>
		<dc:creator>Karen</dc:creator>
				<category><![CDATA[Notes from the Field]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[arl]]></category>
		<category><![CDATA[workshop]]></category>

		<guid isPermaLink="false">http://www.librarywebchic.net/wordpress/2007/05/23/web-development-with-xml-workshop-day-2/</guid>
		<description><![CDATA[Day 2 of this workshop had us spending the morning focusing on XML-Schemas some more. We had the opportunity to markup a document in light of a particular schema, which was enlightening but not something I&#8217;d likely do as part of my job.
The afternoon session focused on XSLTs. Most of this was review for me. [...]]]></description>
			<content:encoded><![CDATA[<p>Day 2 of this workshop had us spending the morning focusing on XML-Schemas some more. We had the opportunity to markup a document in light of a particular schema, which was enlightening but not something I&#8217;d likely do as part of my job.</p>
<p>The afternoon session focused on XSLTs. Most of this was review for me. However, there were a few little tricks that I learned. One of them involved how to get data into an HTML attribute. Let&#8217;s say you want to create an email link.</p>
<p>You can&#8217;t do this: &lt;a href=&#8221;mailto:&lt;xsl:value-of select=&#8221;email&#8221;/&gt;&#8221;&gt;&lt;xsl:value-of select=&#8221;email&#8221;/&gt;&lt;/a&gt; &#8211; it isn&#8217;t valid. You can&#8217;t put angle brackets within angle brackets.</p>
<p>The way I was taught to solve this was quite cumbersome. So I&#8217;m not going to show it. Instead, what I learned in the class is that you can solve this problem by doing this:Â  &lt;a href=&#8221;mailto:{email}&#8221;&gt;&lt;xsl:value-of select=&#8221;email&#8221;/&gt;&lt;/a&gt; . This is a simple slick way to get the job done. For more information about it check out <a href="http://www.w3.org/TR/xslt20/#attribute-value-templates">section 5.6</a> of the <a href="http://www.w3.org/TR/xslt20/">XSLT 2.0 specification</a> (it is <a href="http://www.w3.org/TR/xslt#attribute-value-templates">section 7.6.2</a> in the <a href="http://www.w3.org/TR/xslt">XSLT 1.0 spec</a>).</p>
<p>The refresher on predicates was also helpful to me because I often have a need for this type of node selection but it is something that my previous XML class didn&#8217;t focus enough on.</p>
<p>Today is more advanced XSLT in the morning and then XML in Libraries, eXist, and the beginnings of XQuery in the afternoon. I&#8217;ve super excited about the next two days because these topics are the ones I know the least about.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.librarywebchic.net/wordpress/2007/05/23/web-development-with-xml-workshop-day-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ARL Workshop &#8211; Web Development with XML &#8211; Day 1</title>
		<link>http://www.librarywebchic.net/wordpress/2007/05/21/arl-workshop-web-development-with-xml-day-1/</link>
		<comments>http://www.librarywebchic.net/wordpress/2007/05/21/arl-workshop-web-development-with-xml-day-1/#comments</comments>
		<pubDate>Tue, 22 May 2007 03:53:01 +0000</pubDate>
		<dc:creator>Karen</dc:creator>
				<category><![CDATA[Notes from the Field]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[arl]]></category>
		<category><![CDATA[workshop]]></category>

		<guid isPermaLink="false">http://www.librarywebchic.net/wordpress/2007/05/21/arl-workshop-web-development-with-xml-day-1/</guid>
		<description><![CDATA[This week I&#8217;m in Austin for ARL&#8217;s workshop on Web Development with XML. Over the course of 4 days the workshop is supposed to cover a range of topics from What is XML to XQuery. I signed up mostly for Days 3-4 but thought that after not using some of my XML skills in a [...]]]></description>
			<content:encoded><![CDATA[<p>This week I&#8217;m in Austin for ARL&#8217;s workshop on <a href="http://dl.lib.brown.edu/arl_xml/">Web Development with XML</a>. Over the course of 4 days the workshop is supposed to cover a range of topics from What is XML to XQuery. I signed up mostly for Days 3-4 but thought that after not using some of my XML skills in a while I could use the refresher that Days 1-2 would bring. My last XML class was at least 3 years ago and there are some things that have changed in XML since then. In particular, my previous class spent lots of time on DTDs (yuck) and less time on XML Schemas.</p>
<p>However, today&#8217;s discussion was just the opposite because most people are using XML Schema instead of DTDs today. I also got to play with <a href="http://www.oxygenxml.com/">&lt;oXygen/&gt;</a> and see how it helps you to create schemas. The presenter didn&#8217;t talk too much about the GUI portion of &lt;oXygen/&gt; for schema creation. I sort of wish he did because I like the visual representation that the GUI offers. That isn&#8217;t to say I don&#8217;t think that people shouldn&#8217;t have to know how to right an XML Schema file from scratch. It is more that taking advantage of the GUI when possible is nice.</p>
<p>Tomorrow is more on schemas and then XSLT. I asked the course instructors if they could talk a tiny, tiny, bit about XML-FO because I have a real need for it. I have lovely EAD finding aids that I need to make print versions of and XML-FO is the way to go. So we will see. I also want to know more about XForms but will likely have to take a separate class for that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.librarywebchic.net/wordpress/2007/05/21/arl-workshop-web-development-with-xml-day-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
