Persons now handled, and id listing page
Posted by mholmes on 28 Sep 2011 in Activity log
Processing of people from PERS1.xml is now working, and the Credits page uses this XInclude to include the contemporary ones to whom credit is due:
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="/db/data/PERS1.xml" xpointer="xpointer(//person[persName[@type='cont']])"> <xi:fallback><p>Unable to find people in the PERS1.xml file.</p></xi:fallback> </xi:include>
Use of XInclude precludes editing "live" inside the db via the oXygen data explorer, because the XIncludes are expanded on serialization, so you end up with a static page with the included data whenever you open the file. However, there are lots of other reasons not to use the data explorer (see my next post).
I've also basically finished the id listing page, although I have to add some JavaScript to make the table sortable. It gives a lot more info than the previous one, and links to the relevant data.