XSLT Basics
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
</xsl:template>
</xsl:stylesheet>
CDATA field
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:output cdata-section-elements="Data" indent="yes" omit-xml-declaration="yes"/>
<xsl:template match="/">
<xsl:copy-of select="*"/>
</xsl:template>
</xsl:stylesheet>
Sorting a subtree based on a grandchild
How to.. Import and use XSLT 2.0 mappings
calling xquery from XSLT - saxon:import-query
Split XML file into many XML files using XSLT
EXPath - ZIP Facility - ZIP Module - XSLT Source Code (XSLT)
SaxonServlet - JavaScript API - http://server.com/servlets/SaxonServlet?source=doc.xml&style=sheet.xsl
This is a general-purpose servlet that takes the name of a source document and stylesheet as URL parameters, and processes the stylesheet to create a result document which is sent back to the browser for display. The result document may have any media type, though HTML and XML are the most likely.
example
XML XSLT and the Universe: Setting up the Saxon Servlet
http://drs.library.yale.edu/saxon/
http://drs.library.yale.edu/saxon/SaxonServlet?style=http://drs.library.yale.edu:8083/saxon/EAD/yul.ead2002.xhtml.xsl&source=http://drs.library.yale.edu:8083/fedora/get/mssa:ms.0804/EAD
http://www2.iath.virginia.edu/saxon/servlet/SaxonServlet?source=xwomen/texts/yantie.xml&style=xwomen/xsl/dynaxml.xsl&doc.view=tocc&chunk.id=tpage&toc
http://drs.library.yale.edu/saxon/SaxonServlet?style=http://www.w3schools.com/xsl/cdcatalog.xsl&source=http://www.w3schools.com/xsl/cdcatalog.xml
2221350 - Support for Java Extensions in the SaxonHE XSLT Transformer
1893110 - Integrate external XSLT trannsformer in PI Mapping Runtime
Saxon Processer
Tool - Kernow
declare variable $text := doc("test.xml");
1. Import XQuery Processor - SAXON Jar into ESR SWC as Imported Archive
2. Create XQuery in Eclipse - test with Apache Ant
3. Create PI mapping with XQuery API for Java (XQJ) that delegates the request to custom XQuery and gets the result as outputstream