On 14/10/11 07:38, aj...@virginia.edu wrote: > I can't but point out that a very popular and well-supported XML language for > describing mappings from XML metadata to the Solr (XML) document format > already exists: XSLT. Absolutely! In my opinion XSLT is an ideal language for crosswalks:
1) it's very widely known and used (far more so than any "custom" mapping XML rules would be) 2) in particular it's already used in other parts of both Fedora and Solr 3) simple mapping rules can be expressed very concisely 4) since it's a Turing-complete programming language, mappings of arbitrary complexity are also possible (even involving transclusion of external resources) In a project I've been working on this year at La Trobe University, we have used XSLT to perform a crosswalk from FOXML to Solr's update schema: http://code.google.com/p/ands-la-trobe/source/browse/trunk/xslt/foxml-to-solr.xsl The above XSLT is called by an XProc pipeline invoked by a JMS listener on notification of a change to a Fedora object. Con -- Conal Tuohy eResearch Business Analyst Victorian eResearch Strategic Initiative +61-466324297 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users