[octc-svndiff] SF.net SVN: octc:[426] trunk/tools/xsl/indexer.xsl
Brought to you by:
bansp
From: <ba...@us...> - 2010-12-19 02:46:49
|
Revision: 426 http://octc.svn.sourceforge.net/octc/?rev=426&view=rev Author: bansp Date: 2010-12-19 02:46:42 +0000 (Sun, 19 Dec 2010) Log Message: ----------- index <s> elements as well Modified Paths: -------------- trunk/tools/xsl/indexer.xsl Modified: trunk/tools/xsl/indexer.xsl =================================================================== --- trunk/tools/xsl/indexer.xsl 2010-12-19 02:45:11 UTC (rev 425) +++ trunk/tools/xsl/indexer.xsl 2010-12-19 02:46:42 UTC (rev 426) @@ -3,7 +3,7 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xpath-default-namespace="http://www.tei-c.org/ns/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xd="http://www.pnp-software.com/XSLTdoc" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:f="func" exclude-result-prefixes="xs xd f" version="2.0"> <xsl:import href="identity_transform.xsl"/> - <xsl:output encoding="UTF-8" method="xml" indent="yes"/> + <xsl:output encoding="UTF-8" method="xml" indent="no"/> <xd:doc type="stylesheet"> <xd:short>Indexer: creates indices for everything under the body.</xd:short> <xd:detail> @@ -58,7 +58,7 @@ </xsl:variable> <xd:doc>Go through the designated elements and (re)index them.</xd:doc> - <xsl:template match="div | head | p | ab | item | list | hi | q | linkGrp | ptr | seg"> + <xsl:template match="div | head | p | ab | item | list | hi | q | linkGrp | ptr | seg | s"> <xsl:copy> <xsl:attribute name="xml:id" select="f:create_index(.)"/> <xsl:apply-templates select="node()|@*"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |