Examples and code
There are examples and code samples available through the XCRI wiki.
Examples of XCRI-CAP 1.2 files
Sample XCRI-CAP 1.2 instance file for the Open University.
Examples of XCRI-CAP 1.1 files
Sample XCRI-CAP 1.1 instance file for the Open University together with an annotated Word file documenting it.Code and Examples
XCRI-CAP 1.2
Draft mapping of XCRI-CAP 1.1 to XCRI-CAP 1.2
Sample SQL Server 2008 code for building an XCRI-CAP-1.2-compatible relational database
Populating the sample SQL Server 2008 XCRI-CAP-1.2-compatible relational database
Sample SQL Server 2008 code for extracting XCRI CAP 1.2 XML from a relational database
Sample ASP.NET code to take XCRI CAP 1.2 XML from database and publish it as a web feed
Sample XSLT and ASP.NET code to create web pages from your course feed
Sample ASP.NET and XSLT code to server both XHTML web pages and XCRI CAP 1.2 XML from a single course discovery page
XCRI-CAP 1.1
XCRICAP-NET -A base library to generate XCRI (eXchanging Course-Related Information) feedsTransforming XHTML text into formatted plain text
Example of an XCRI-CAP 1.1 web service (Open University data)Sample SQL Server 2005 code for generating XCRI XML from a simplified relational course database
Sample XSLT code for transforming XCRI CAP 1.1 into X3D for data visualisation purposes
Sample XSLT code for transforming XCRI CAP 1.1 into HTML web pages






