<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>the DIL</title>
	<atom:link href="http://thedil.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thedil.wordpress.com</link>
	<description>One ‘l’ short of a savory little herb. A Digital Initiative Librarian’s blog.</description>
	<lastBuildDate>Mon, 16 Jan 2012 19:31:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='thedil.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>the DIL</title>
		<link>http://thedil.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://thedil.wordpress.com/osd.xml" title="the DIL" />
	<atom:link rel='hub' href='http://thedil.wordpress.com/?pushpress=hub'/>
		<item>
		<title>METS XForm</title>
		<link>http://thedil.wordpress.com/2008/08/17/mets-xform/</link>
		<comments>http://thedil.wordpress.com/2008/08/17/mets-xform/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 15:38:55 +0000</pubDate>
		<dc:creator>wsalesky</dc:creator>
				<category><![CDATA[Metadata]]></category>
		<category><![CDATA[mets]]></category>
		<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://thedil.wordpress.com/?p=127</guid>
		<description><![CDATA[So while waiting for my consulting contract from UVM to come through I thought I&#8217;d while away the time with a METS XForm. This has immediately proved more challenging than I had anticipated. I think it would not be to hard to make institution specific forms but that it will be nearly impossible to create [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=127&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So while waiting for my consulting contract from UVM to come through I thought I&#8217;d while away the time with a METS XForm. This has immediately proved more challenging than I had anticipated. I think it would not be to hard to make institution specific forms but that it will be nearly impossible to create a universal METS editor. Maybe the best bet would to be to create a tool that accepts a template or sample METS record and then builds an XForm from that.</p>
<p>For now however, I&#8217;m going to see what I can come up with that is relatively generic. One thing I suspect about METS is that many institutions (including UVM)  are generating large portions of the records automagically and that a form would actually slow this process down. The place I see XForms being the most useful for METS is the structMap section where you build a representation of your digital object by organizing the files in the fileSec.</p>
<p>How do you create your METS records? What would you like to see in a METS editor?</p>
<p>I&#8217;ll be posting code when I get something half-way presentable, but it would be nice to have a discussion about the variouse ways METS is being used and created and how best to support that.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thedil.wordpress.com/127/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thedil.wordpress.com/127/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thedil.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thedil.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thedil.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thedil.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thedil.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thedil.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thedil.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thedil.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thedil.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thedil.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thedil.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thedil.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thedil.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thedil.wordpress.com/127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=127&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thedil.wordpress.com/2008/08/17/mets-xform/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67df5e56422499fab107f41138ac4816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wsalesky</media:title>
		</media:content>
	</item>
		<item>
		<title>XSL for the Archivits&#8217; ToolKit</title>
		<link>http://thedil.wordpress.com/2008/08/01/xsl-for-the-archivits-toolkit/</link>
		<comments>http://thedil.wordpress.com/2008/08/01/xsl-for-the-archivits-toolkit/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 16:12:42 +0000</pubDate>
		<dc:creator>wsalesky</dc:creator>
				<category><![CDATA[ead]]></category>
		<category><![CDATA[xsl]]></category>
		<category><![CDATA[xslt]]></category>

		<guid isPermaLink="false">http://thedil.wordpress.com/?p=123</guid>
		<description><![CDATA[I just finished the XSL work I&#8217;ve been doing for the Archivists&#8217; ToolKit. The stylesheets will both be included in the next release which I believe is scheduled for September. I&#8217;m fairly pleased with how they came out, the layouts had to be simple, no images and neutral color schemes in order to be generic [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=123&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just finished the XSL work I&#8217;ve been doing for the Archivists&#8217; ToolKit. The stylesheets will both be included in the next release which I believe is scheduled for September. I&#8217;m fairly pleased with how they came out, the layouts had to be simple, no images and neutral color schemes in order to be generic enough for any institution to use, but at the same time I wanted them to look attractive. Here is a sample of the <a href="http://www.uvm.edu/~wsalesky/at_ead.html">HTML output</a>, and here is a sample of the <a href="http://www.uvm.edu/~wsalesky/at_pdf.pdf">PDF</a> (this is an EAD from UVM&#8217;s collection). In fact I think I like the design quite a bit more than the one I did for UVM, it is nice and simple.</p>
<p>The work itself was enjoyable though a bit more of a challenge then I had anticipated, partially due to my daughter not napping as much as I thought she would, and partially due to the limitations of XSL 1.0. I prefer 2.0, it has a lot of nice functions that are lacking in 1.0, but in the end it was not a problem, just took me a little longer to do some things. I ended up starting from scratch rather than using the existing XSL (which was derived from one of the EAD Cookbook examples). I think this made things easier, I didn&#8217;t have to wade through anyone else&#8217;s code, although it may have taken a bit longer.</p>
<p>I&#8217;m still waiting for UVM to come through with my consulting contract, but am also starting to look around for other possible consulting opportunities. So if you need any XSL, XQuery or XForms work done, drop me a line.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thedil.wordpress.com/123/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thedil.wordpress.com/123/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thedil.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thedil.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thedil.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thedil.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thedil.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thedil.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thedil.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thedil.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thedil.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thedil.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thedil.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thedil.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thedil.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thedil.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=123&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thedil.wordpress.com/2008/08/01/xsl-for-the-archivits-toolkit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67df5e56422499fab107f41138ac4816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wsalesky</media:title>
		</media:content>
	</item>
		<item>
		<title>Back in the saddle &#8230; sort of</title>
		<link>http://thedil.wordpress.com/2008/07/04/back-in-the-sadle-sort-of/</link>
		<comments>http://thedil.wordpress.com/2008/07/04/back-in-the-sadle-sort-of/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 19:05:19 +0000</pubDate>
		<dc:creator>wsalesky</dc:creator>
				<category><![CDATA[Metadata]]></category>
		<category><![CDATA[ead]]></category>
		<category><![CDATA[xsl]]></category>

		<guid isPermaLink="false">http://thedil.wordpress.com/?p=122</guid>
		<description><![CDATA[In my last post I said I&#8217;d be back in about six weeks, any of my readers who are parents probably had a good chuckle over that one. Hannah turns 3 months today (pics here if you are interested), and I&#8217;m finally feeling like I can juggle more then just life with a new baby. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=122&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my last post I said I&#8217;d be back in about six weeks, any of my readers who are parents probably had a good chuckle over that one. Hannah turns 3 months today (pics <a href="http://www.flickr.com/photos/salesky/">here</a> if you are interested), and I&#8217;m finally feeling like I can juggle more then just life with a new baby.</p>
<p>My work status remains a little up in the air. I took a year leave of absence from UVM, with the understanding that I would be doing about 20 hrs worth of consulting work for them while on leave. I haven&#8217;t started doing work for UVM yet but I have started doing some consulting. Currently I&#8217;m working on revamping the XSL stylesheets for HTML and PDF displays for the <a href="http://www.archiviststoolkit.org/">Archivists&#8217; ToolKit</a>. This has been a great project to ease back into working, because while EAD is a bit of a headache, I really enjoy working with XSL. It feels so uncomplicated after XQuery and XForms.  Both stylesheets should be done by the begining of August for the next AT release.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thedil.wordpress.com/122/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thedil.wordpress.com/122/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thedil.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thedil.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thedil.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thedil.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thedil.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thedil.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thedil.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thedil.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thedil.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thedil.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thedil.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thedil.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thedil.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thedil.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=122&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thedil.wordpress.com/2008/07/04/back-in-the-sadle-sort-of/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67df5e56422499fab107f41138ac4816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wsalesky</media:title>
		</media:content>
	</item>
		<item>
		<title>Gone Fishing&#8230;</title>
		<link>http://thedil.wordpress.com/2008/04/14/gone-fishing/</link>
		<comments>http://thedil.wordpress.com/2008/04/14/gone-fishing/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 16:05:48 +0000</pubDate>
		<dc:creator>wsalesky</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://thedil.wordpress.com/?p=120</guid>
		<description><![CDATA[I&#8217;ve been a little distracted lately: My daughter Hannah was born last Friday, and as a result, I&#8217;m taking a little break from work and blogging. I&#8217;ll be back in oh&#8230; six weeks or so.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=120&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a little distracted lately:</p>
<p><a href="http://thedil.files.wordpress.com/2008/04/img_0781.jpg"><img class="aligncenter size-medium wp-image-121" src="http://thedil.files.wordpress.com/2008/04/img_0781.jpg?w=225&#038;h=300" alt="" width="225" height="300" /></a></p>
<p>My daughter Hannah was born last Friday, and as a result, I&#8217;m taking a little break from work and blogging. I&#8217;ll be back in oh&#8230; six weeks or so.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thedil.wordpress.com/120/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thedil.wordpress.com/120/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thedil.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thedil.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thedil.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thedil.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thedil.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thedil.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thedil.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thedil.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thedil.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thedil.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thedil.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thedil.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thedil.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thedil.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=120&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thedil.wordpress.com/2008/04/14/gone-fishing/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67df5e56422499fab107f41138ac4816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wsalesky</media:title>
		</media:content>

		<media:content url="http://thedil.files.wordpress.com/2008/04/img_0781.jpg" medium="image" />
	</item>
		<item>
		<title>FireFox 2.0.0.13</title>
		<link>http://thedil.wordpress.com/2008/03/27/firefox-20013/</link>
		<comments>http://thedil.wordpress.com/2008/03/27/firefox-20013/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 13:31:16 +0000</pubDate>
		<dc:creator>wsalesky</dc:creator>
				<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://thedil.wordpress.com/?p=119</guid>
		<description><![CDATA[I pretty much dread every Firefox upgrade, because of the havoc it could wreck on my XForms. The past few upgrades have been problem free, but yesterday&#8217;s automatic update has put a halt to metadata production once again. I&#8217;m having trouble explaining myself to the disgruntled catalogers who had just gotten back to work. I&#8217;ve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=119&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I pretty much dread every Firefox upgrade, because of the havoc it could wreck on my XForms. The past few upgrades have been problem free, but yesterday&#8217;s automatic update has put a halt to metadata production once again. I&#8217;m having trouble explaining myself to the disgruntled catalogers who had just gotten back to work.</p>
<p>I&#8217;ve <a href="http://groups.google.com/group/mozilla.dev.tech.xforms/browse_thread/thread/0f21aaf9884d5aef/d758a65f55f2337d">e-mailed the list</a> and an updated version of the extension should be out in a few days, in the meantime I&#8217;ve been poking about unsuccessfully looking for a nightly build that works with FF 2.0.0.13.  I&#8217;ve also finally installed <a href="http://www.orbeon.com/">Orbeon</a> on my development server and ported over the MODS XForm. It was surprisingly painless to get it working. However the working form is just the first step, since I have a whole metadata management system that has to be integrated. Most of the system is built using xquery, but could possibly be done entierly in XForms, it will just require some thinking through.</p>
<p>Unfortunately I&#8217;m on a bit of a tight schedule, I need to have the forms working reliably as soon as possible because I&#8217;m going on maternity leave some time in the next 3 weeks. I&#8217;ve got a lot of wrapping up and documenting to do before that time, so I&#8217;m not sure how far I&#8217;ll get with Orbeon.</p>
<p>**<a href="ftp://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla1.8/windows-xpi/xforms.xpi">This version (for Windows)</a> of the XForms extension does work with FF 2.0.0.13, just be sure to uninstall your earlier version of the extension before you install the new one. I didn&#8217;t do an uninstall, and was having all sorts of problems with submitting data. Everything seems to work just fine now.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thedil.wordpress.com/119/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thedil.wordpress.com/119/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thedil.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thedil.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thedil.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thedil.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thedil.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thedil.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thedil.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thedil.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thedil.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thedil.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thedil.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thedil.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thedil.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thedil.wordpress.com/119/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=119&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thedil.wordpress.com/2008/03/27/firefox-20013/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67df5e56422499fab107f41138ac4816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wsalesky</media:title>
		</media:content>
	</item>
		<item>
		<title>Session Solutions</title>
		<link>http://thedil.wordpress.com/2008/03/12/session-solutions/</link>
		<comments>http://thedil.wordpress.com/2008/03/12/session-solutions/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 14:33:24 +0000</pubDate>
		<dc:creator>wsalesky</dc:creator>
				<category><![CDATA[eXist]]></category>
		<category><![CDATA[MODS]]></category>
		<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://thedil.wordpress.com/?p=117</guid>
		<description><![CDATA[So I came up with two possible solutions to my sessions problem, I&#8217;m sure there are others as well. 1) I could store all the xqueries that build my metadata admin interface in eXist with restricted read permissions so that uses would be presented with a login from the server when they arrive at the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=117&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I came up with two possible solutions to my sessions problem, I&#8217;m sure there are others as well.</p>
<p>1) I could store all the xqueries that build my metadata admin interface in eXist with restricted read permissions so that uses would be presented with a login from the server when they arrive at the page, this would initiate the REST session, which would presumably perpetuate as long as the window was active (and thus hopefully by-pass the random logout issue.)</p>
<p>I haven&#8217;t actually tried this one, I just assume it would work. I don&#8217;t particularly like the solution because I don&#8217;t store most of my xqueries in eXist. However, I haven&#8217;t ruled it out.</p>
<p>2) Solution 2 is the one I worked on all day yesterday. First I&#8217;ve gone back to submitting the data via a POST which sends the data to an xquery, this query then uses the xmldb:store() function to save the data to eXist. This xquery also checks to see if there is a current session using session:exists(), if not it will send back &#8220;Not logged in!&#8221; if there is a current session the xquery will attempt to save the record to the database, if successful the xmldb:store() function returns the path to the resource, if it fails it returns an empty string.</p>
<p>My XForm now uses an event observer to check if the submit action was successful, if not it will warn the user that they are either not logged in, or have insufficient privileges to edit the resource and toggles them to a login form located at the top of their current page. Users can then login, a separate event is fired that changes or creates a new session and the user can save the data in the form, all without refreshing or leaving the form.</p>
<p>After much tweaking this seems to work. The nice thing is that having the login on the form saves the user from losing the data that they have been working on.</p>
<p>Here are what the additions the form look like:</p>
<p>Two new instances, the first to check what sort of error the xquery sends back if it is not successful:</p>
<pre>
&lt;xforms:instance id="submitError"&gt;
  &lt;dummy xmlns=""&gt;
    &lt;submit/&gt;
  &lt;/dummy&gt;
&lt;/xforms:instance&gt;</pre>
<p>The second to hold the login information:</p>
<pre>&lt;xforms:instance id="login"&gt;
  &lt;dummy xmlns=""&gt;
    &lt;user/&gt;
    &lt;pass/&gt;
  &lt;/dummy&gt;
&lt;/xforms:instance&gt;</pre>
<p>Additions to the submission action:</p>
<pre>&lt;xforms:submission id="submit" method="post" ref="instance('metadata')"
 replace="text" instance="submitError" action="xqueryGoesHere.xql"&gt;
   &lt;xforms:action ev:event="xforms-submit-done" ev:observer="submit"&gt;
     &lt;xforms:message level="modal"&gt;Item Saved!&lt;/xforms:message&gt;
     &lt;xforms:refresh/&gt;
   &lt;/xforms:action&gt;
   &lt;xforms:action ev:event="xforms-submit-error" ev:observer="submit"&gt;
     &lt;xforms:message level="modal"
       ref="instance('submitError')/child::*[. = '']"&gt;You do not have permission
       to edit this resource! Please log in.&lt;/xforms:message&gt;
     &lt;xforms:message level="modal"
       ref="instance('submitError')/child::*[. = 'Not logged in!']"&gt;You are no longer
       logged in! Please log in.&lt;/xforms:message&gt;
     &lt;xforms:toggle case="case-login"/&gt;
     &lt;xforms:refresh/&gt;
   &lt;/xforms:action&gt;
&lt;/xforms:submission&gt;</pre>
<p>I&#8217;ve then added a xforms:switch to the top of the MODS form that toggles between a login form and summary information about the resource. As you can see in the submission, if there is an error, the top part of the form will toggle to display a login form for the users, case-login. Once the user logs in with the new name and password, they click login which fires this submission action:</p>
<pre>
&lt;xforms:submission id="do-login" method="get" replace="instance"
 instance="login" separator="&amp;" ref="instance('login')" action="login.xql"&gt;
  &lt;xforms:action ev:event="xforms-submit-done" ev:observer="do-login"&gt;
    &lt;xforms:message level="modal"&gt;You are now logged in. Please re-save your data.
    &lt;/xforms:message&gt;
    &lt;xforms:toggle case="ready"/&gt;
    &lt;xforms:refresh/&gt;
  &lt;/xforms:action&gt;
  &lt;xforms:action ev:event="xforms-submit-error" ev:observer="do-login"&gt;
    &lt;xforms:message level="modal"&gt;Incorrect login information&lt;/xforms:message&gt;
    &lt;xforms:toggle case="case-login"/&gt;
    &lt;xforms:refresh/&gt;
  &lt;/xforms:action&gt;
&lt;/xforms:submission&gt;</pre>
<p>The login.xql looks very similar to <a href="http://demo.exist-db.org/xquery/login.xql">this example</a> from the eXist website. If the login is successful the form toggles from the login info to the MODS form info. The user is then prompted to re-save their data as the new user.</p>
<p>I&#8217;m still a little nervous putting the catalogers back to work with these forms because I haven&#8217;t been able to replicate some of the problems they had reported, but  I&#8217;m hoping even if they do get logged out this new form will allow them to log back in without losing any data. I&#8217;ve also finally made it possible to page from one record to the next in the queue, maybe that will buy me a little extra goodwill.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thedil.wordpress.com/117/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thedil.wordpress.com/117/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thedil.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thedil.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thedil.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thedil.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thedil.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thedil.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thedil.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thedil.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thedil.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thedil.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thedil.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thedil.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thedil.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thedil.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=117&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thedil.wordpress.com/2008/03/12/session-solutions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67df5e56422499fab107f41138ac4816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wsalesky</media:title>
		</media:content>
	</item>
		<item>
		<title>Struggling with sessions</title>
		<link>http://thedil.wordpress.com/2008/03/10/struggling-with-sessions/</link>
		<comments>http://thedil.wordpress.com/2008/03/10/struggling-with-sessions/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 20:07:19 +0000</pubDate>
		<dc:creator>wsalesky</dc:creator>
				<category><![CDATA[eXist]]></category>
		<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://thedil.wordpress.com/?p=116</guid>
		<description><![CDATA[Right before I left for Code4lib 2008 we had a serious db crash, this was an eXist issue, which I&#8217;m hoping was partially solved by upgrading to 1.2 as well as some re-writing of xqueries to eliminate most of our temporary fragments creation. We haven&#8217;t had any problems with crashing since the upgrade, but a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=116&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Right before I left for <a href="http://code4lib.org/conference/2008/">Code4lib 2008</a> we had a serious db crash, this was an <a href="http://exist.sourceforge.net/">eXist</a> issue, which I&#8217;m hoping was partially solved by upgrading to 1.2 as well as some re-writing of xqueries to eliminate most of our temporary fragments creation. We haven&#8217;t had any problems with crashing since the upgrade, but a by product of the crash was some odd behavior that was reported to me by one of the catalogers. She was getting logged out in the middle of editing a record. Because of the way my forms had been set up she wasn&#8217;t getting any reliable messages about the status of the record (if it had been successfully saved or not), so she assumed a record had been saved, but it wasn&#8217;t, several records were lost, and worse, cataloger good will is now a bit more shaky than it was.</p>
<p>I had been submitting the data from our XForms to an xquery via post, the xquery then did some post processing and submitted the data to eXist using xupdate. Thinking it would be more straight forward I switched to using the RESTservlet, which allowed me to do a simple PUT from my XForm.  However,  I can&#8217;t seem to persist my session through the PUT request. My metadata administrative interface is a series of xqueries, the user must log in on the fist page using the eXist xmldb:login function, they then can browse through records in process, pull up completed records to edit and create new collections. However now when the user presses the save button on a record they are asked to login again. Once they have logged in from an XForm, they can save as many records as they like, so essentially it creates another session.</p>
<p>After some back and forth on the eXist mailing list it appears that sessions persist across xqueries, but that the RESTserver does not reuse this session information.  The suggested solution was to post from my XForm to an xquery&#8230; which is what I had been doing. The real problem I&#8217;m having is how to get reliable information back to the user on whether or not the save was successful, and if not (due to an expired session) allow them to log back in without navigating away from the form they are on.</p>
<p>I&#8217;m wondering if I can use an XForms alert that is tied to an xforms-submit-error response. I haven&#8217;t found any examples of this so far, but I&#8217;m still looking.  Also, I seem to be getting an error message back from my form even when the data has submitted successfully.</p>
<p>I&#8217;m racking my brains for a workaround solution, because I&#8217;d like to get metadata work back underway, so I have a few weeks to monitor it. Any suggestions, or examples you know of would be greatly appreciated. Otherwise I&#8217;ll just carry on testing various solutions until I run across one that works.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thedil.wordpress.com/116/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thedil.wordpress.com/116/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thedil.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thedil.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thedil.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thedil.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thedil.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thedil.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thedil.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thedil.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thedil.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thedil.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thedil.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thedil.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thedil.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thedil.wordpress.com/116/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=116&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thedil.wordpress.com/2008/03/10/struggling-with-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67df5e56422499fab107f41138ac4816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wsalesky</media:title>
		</media:content>
	</item>
		<item>
		<title>XForms for Metadata Creation</title>
		<link>http://thedil.wordpress.com/2008/02/29/xforms-for-metadata-creation/</link>
		<comments>http://thedil.wordpress.com/2008/02/29/xforms-for-metadata-creation/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 22:06:28 +0000</pubDate>
		<dc:creator>wsalesky</dc:creator>
				<category><![CDATA[code4libcon2008]]></category>
		<category><![CDATA[Metadata]]></category>
		<category><![CDATA[MODS]]></category>
		<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://thedil.wordpress.com/?p=115</guid>
		<description><![CDATA[I just got back from Code4lib 2008 in Portland Oregon.  Last year I did a lightning talk on XForms, this year I did full 20 minute presentation. Well, actually I did half a 20 minute presentation. I split the slot with Michael Park from Brown. We had both been working on MODS editors and had [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=115&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just got back from <a href="http://code4lib.org/conference/2008/">Code4lib 2008</a> in Portland Oregon.  Last year I did a lightning talk on XForms, this year I did full 20 minute presentation. Well, actually I did half a 20 minute presentation. I split the slot with Michael Park from Brown. We had both been working on MODS editors and had been in touch over the past few months about our work. Since our needs and solutions were so different it made sense to demo both forms and talk about the different possible approaches. Mike is serving a much more diffuse audience then I am and a server side solution for him was absolutely necessary. Also the users targeted for his editor are faculty as opposed to librarians. In his case the full complexity of MODS is less important that insuring he gets the right minimum data submitted with each record.</p>
<p>Here are the slides, video will be coming eventually, although I need to redo the audio portion of my half of the talk due to a technical snafu.</p>
<p><iframe src='http://www.slideshare.net/slideshow/embed_code/278005' width='425' height='348'></iframe><br />
Doing a joint 20 minute presentation was quite a challenge, I think both Mike and I could have easily used the entire 20 minutes, but I think it was a good thing for people to see the two different editors, and be able to talk to us both after the presentation about which ever approach might be most appropriate for their institution.</p>
<p>Both Mike and I have released the code for our editors as opens source (Mike&#8217;s is quite well documented, I&#8217;m still working on documentation). You can see examples of the forms and get the code at the locations below.</p>
<p><b>UVM</b></p>
<ul>
<li>Code:    <a href="http://code.google.com/p/xforms4lib/">http://code.google.com/p/xforms4lib/</a></li>
<li>Examples:
<ul>
<li><a href="http://cdi.uvm.edu/exist/xforms/mods">http://cdi.uvm.edu/exist/xforms/mods</a></li>
<li><a href="http://cdi.uvm.edu/exist/xforms/modsSimple">http://cdi.uvm.edu/exist/xforms/modsSimple</a></li>
</ul>
</li>
</ul>
<p><b>Brown </b></p>
<ul>
<li>Code and documentation:   <a href="http://dl.lib.brown.edu/its/software/metadata/">http://dl.lib.brown.edu/its/software/metadata/</a></li>
<li>Example:   <a href="http://riker.services.brown.edu:8080/repo/mods/demo.html">http://riker.services.brown.edu:8080/repo/mods/demo.html</a></li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thedil.wordpress.com/115/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thedil.wordpress.com/115/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thedil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thedil.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thedil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thedil.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thedil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thedil.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thedil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thedil.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thedil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thedil.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thedil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thedil.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thedil.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thedil.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=115&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thedil.wordpress.com/2008/02/29/xforms-for-metadata-creation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67df5e56422499fab107f41138ac4816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wsalesky</media:title>
		</media:content>
	</item>
		<item>
		<title>MODS for everyone</title>
		<link>http://thedil.wordpress.com/2008/02/18/mods-for-everyone/</link>
		<comments>http://thedil.wordpress.com/2008/02/18/mods-for-everyone/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 13:51:38 +0000</pubDate>
		<dc:creator>wsalesky</dc:creator>
				<category><![CDATA[MODS]]></category>
		<category><![CDATA[XForms]]></category>

		<guid isPermaLink="false">http://thedil.wordpress.com/?p=114</guid>
		<description><![CDATA[When I started working on the CDI project almost 2 years ago there were no easy solutions for integrating the creation and editing of complex metadata into a project workflow. Most DAMS (Digital Asset Management Systems) came with the ability to create Dublin Core, or some form of modified Dublin Core, but the creation of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=114&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I started working on the CDI project almost 2 years ago there were no easy solutions for integrating the creation and editing of complex metadata into a project workflow. Most DAMS (Digital Asset Management Systems) came with the ability to create Dublin Core, or some form of modified Dublin Core, but the creation of MODS was not supported.</p>
<p>Today there are a plethora of people working on MODS editor solutions. Here are just a few:</p>
<ol>
<li>The University of Tennessee Libraries &#8211; The University of Tennessee has released their <a href="http://dlc.lib.utk.edu/~cdeane/UTK_LIB_DLC/WB4/workbook.htm">MODS workbook</a> as open source, it is a web based form that I believe is javascript based.</li>
<li>Peter Binkley at the University of Alberta  &#8211; Peter has just <a href="http://www.wallandbinkley.com/quaedam/?p=133">announced</a> his MODS editor is complete, or very nearly so and is built using the Cocoon Forms Framework and and you can try it out <a href="http://chelsea.library.ualberta.ca/cocoon210/modseditor/">here</a>.</li>
<li>Michael Park at Brown University &#8211; Mike has been working on a MODS editor using Orbeon Forms.<br />
**edited to add links from our <a href="http://www.slideshare.net/mw_park/xforms-for-metadata-creation">recent presentation</a>:<br />
Code and documentation:   <a href="http://dl.lib.brown.edu/its/software/metadata/">http://dl.lib.brown.edu/its/software/metadata/</a><br />
Example:   <a href="http://riker.services.brown.edu:8080/repo/mods/demo.html">http://riker.services.brown.edu:8080/repo/mods/demo.html</a></li>
<li>Parmit Chilana formerly at Princeton University &#8211; Wrote a MODS editor using Orbeon, I&#8217;m not sure who has taken over now that she has moved on.</li>
<li>Clay Redding at the Library of Congress</li>
<li>Me &#8211; I just got permission to release our metadata editor as open source from the UVM powers-that-be. The forms need some cleaning up, but I&#8217;m posting my demo forms <a href="http://code.google.com/p/xforms4lib/">here</a>, and will be slowly adding the code for the entire metadata editing interface, including our forms for posting data to Solr. I&#8217;ve also had some time to refine the MODS editor we are using in production, there are two versions, the <a href="http://cdi.uvm.edu/exist/xforms/modsSimple">simple version</a> &#8211; used by the copy catalogers &#8211; and the <a href="http://cdi.uvm.edu/exist/xforms/mods">full version</a> for editing the full record.<br />
**links from my <a href="http://www.slideshare.net/mw_park/xforms-for-metadata-creation">recent presentation</a>:<br />
Code:    <a href="http://code.google.com/p/xforms4lib/">http://code.google.com/p/xforms4lib/</a><br />
Examples:</p>
<ul>
<li><a href="http://cdi.uvm.edu/exist/xforms/mods">http://cdi.uvm.edu/exist/xforms/mods</a></li>
<li><a href="http://cdi.uvm.edu/exist/xforms/modsSimple">http://cdi.uvm.edu/exist/xforms/modsSimple</a></li>
</ul>
</li>
</ol>
<p>Its great to see so much development happening in this area, it always seemed crazy to me that we had so many library metadata standards but but no way for our users to create these records. I still prefer the XForms solution to most of the other solutions I&#8217;ve seen, just because XForms seems to me the most logical and simple (in spite of all the trouble I&#8217;ve had with it) method for creating and editing XML data.</p>
<p>Now, if only someone would build a decent METS editor.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thedil.wordpress.com/114/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thedil.wordpress.com/114/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thedil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thedil.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thedil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thedil.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thedil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thedil.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thedil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thedil.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thedil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thedil.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thedil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thedil.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thedil.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thedil.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=114&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thedil.wordpress.com/2008/02/18/mods-for-everyone/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67df5e56422499fab107f41138ac4816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wsalesky</media:title>
		</media:content>
	</item>
		<item>
		<title>Fixing temprorary fragments</title>
		<link>http://thedil.wordpress.com/2008/02/12/fixing-temprorary-fragments/</link>
		<comments>http://thedil.wordpress.com/2008/02/12/fixing-temprorary-fragments/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 13:00:02 +0000</pubDate>
		<dc:creator>wsalesky</dc:creator>
				<category><![CDATA[eXist]]></category>
		<category><![CDATA[XQuery]]></category>

		<guid isPermaLink="false">http://thedil.wordpress.com/?p=111</guid>
		<description><![CDATA[Surprise! Or at least to me&#8230; My XForms are not the source of the majority of my temporary fragments, at least as far as I can tell. This is good news because the XForms constitute the most complicated part of my web app, and would take the longest amount of time to troubleshoot and fix. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=111&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Surprise! Or at least to me&#8230; My XForms are not the source of the majority of my temporary fragments, at least as far as I can tell. This is good news because the XForms constitute the most complicated part of my web app, and would take the longest amount of time to troubleshoot and fix.</p>
<p>I&#8217;ve follwed the trail of temprorary fragments on my development machine by tracking the exist logs. After every query/page request I check the logs to see if a temprary fragment has been created. In addition  I&#8217;ve set up a little xquery that pulls the results out of /db/system/temp so I can see excatly what the temprary fragment is, allowing me to pin point the problems in my xqueries.</p>
<p>The results supprised me, although after a little more reading on eXist and temporary fragments, they make sense. In particular <a href="http://thread.gmane.org/gmane.text.xml.exist/7094/focus=7119">this</a> thread on the eXist mailing list was enlightening. I use the doc() function to return the xml response from Solr and then transform it with XSL stored in eXist. For some reason I was calling the results like this:  doc(&#8216;solrResults&#8217;)/child::*  As noted in the above thread, applying an xpath to the returned fragment causes it to be stored as a temporary fragment. The fix has been easy enough, I simply removed the child::* operator and adjusted my XSL.</p>
<p>I have a few other queries that were also creating temporary fragments, and for the most part the issues are very similar, the use of xpath on a returned fragment, rather than using xsl, or even creating variables in the xquery to get the values. For the most part it has been pretty simple to rewrite these queries, and has also given me a chance to clean up some of my code.  In addition I&#8217;ve allocated more memory to Tomcat. Hopefully these two adjustments will alleviate the issues we have been having the past few weeks.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thedil.wordpress.com/111/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thedil.wordpress.com/111/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thedil.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thedil.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thedil.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thedil.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thedil.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thedil.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thedil.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thedil.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thedil.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thedil.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thedil.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thedil.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thedil.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thedil.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thedil.wordpress.com&amp;blog=442702&amp;post=111&amp;subd=thedil&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thedil.wordpress.com/2008/02/12/fixing-temprorary-fragments/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/67df5e56422499fab107f41138ac4816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">wsalesky</media:title>
		</media:content>
	</item>
	</channel>
</rss>
