[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Generating an index of terms in a TEI P5 book MS
On 12.06.2016 14:20, Charles Muller acmuller@xxxxxxxxxxxxxxx wrote:
The top of the document, from the top of the header, down to the first part of the <body>, looks like this:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tei="http://www.tei-c.org/ns/1.0" exclude-result-prefixes="tei"> <xsl:template match="tei:TEI/tei:text/tei:body"> <html> <head/> <body> <xsl:for-each select="//tei:term[@xml:lang='zh'] "> <xsl:sort select="."/> <p><xsl:apply-templates/><xsl:text> </xsl:text></p> </xsl:for-each> </body> </html> </xsl:template> </xsl:stylesheet>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|