<div>Hi all,</div><div><br></div><div>Since the lists have been quiet during the review of DDI 3.2, I figured I'd try and liven things up with a few posts I've put up recently.</div><div><br></div><div>Firstly, parts 2 and 3 of the "How to Extend DDI using standard XML technologies" have been posted, <br>
</div><div><a href="http://bit.ly/P05VxK" target="_blank">http://bit.ly/P05VxK</a> - "Part 2 - XSI Type and DDI" Looks at using xsi:type to extend existing elements by adding additional elements and attributes</div>
<div><a href="http://bit.ly/NnO9rv" target="_blank">http://bit.ly/NnO9rv</a> - "Part 3 - Picking the right approach to improving the standard" Covers when each of the approaches should be used, and is a scathing look at why DDI Notes need to be deprecated for the good of the standard and the community.</div>
<div><br></div><div>Secondly, given the multilingual focus of DDI and many of its users, some help when using XML:Lang attributes. After some research, I couldn't find a reference for how to easily infer the correct xml:lang attribute value for a given element - according to the XML spec, if the XML lang attribute is absent it should be the value of the nearest parent. To solve this, I've written up a trivial post with an Xpath to do just this here: <a href="http://bit.ly/NRUl6W" target="_blank">http://bit.ly/NRUl6W</a> with a Github Gist breaking it down here: <a href="http://bit.ly/Nx5oDb" target="_blank">http://bit.ly/Nx5oDb</a></div>
<div>If you just want the XPath to compute this value, its this, its this: <span style="font-family:Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace;font-size:12px;line-height:1.4em">ancestor-or-self::*[attribute::xml:lang][1]/@xml:lang</span></div>
<div><br></div><div>Lastly, I've updated an open-sourced the software I demo'd at IASSIST2012. Ramona is a collection of questionnaire visualisation tools that should help demonstrate the power of DDI for survey design and delivery. The full code is available on GitHub here: <a href="http://bit.ly/PnG2rx">http://bit.ly/PnG2rx</a> but just as a quick demo are two results of the transforms that I've hosted</div>
<div><a href="http://bit.ly/PnFsKl" target="_blank">http://bit.ly/PnFsKl</a> - This is a completed, and interactive XForms Survey Instrument generated from DDI</div><div><a href="http://bit.ly/PxMW0E" target="_blank">http://bit.ly/PxMW0E</a> - This is an interactive HTML visualisation of the questionnaire flow, similar to a Flow Diagram as described by Donald Knuth for programming logic.</div>
<div>Both of these are generated from a sample form that is include in the above GitHug - The fictional "Australian Dog Survey" here: <a href="http://bit.ly/Q6B2bn">http://bit.ly/Q6B2bn</a></div><div><br></div><div>
Thanks to everyone, and I hope to see you all in Bergen,</div><div>Sam.</div><div><br></div><div>--- Specificity is the soul of all good communication ---<br>
--- When the game is over, the king and the pawn go into the same box ---<br>Find out more about me: <a href="http://about.me/legostormtroopr" target="_blank">http://about.me/legostormtroopr</a><br>
</div>