[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 06:08, Charles Muller acmuller@xxxxxxxxxxxxxxx wrote:
I have a document written in TEI P5, for which I'd like to generate an index of words tagged as <term xml:lang="zh"> occurring anywhere throughout the <body> of the document, which means that the terms are occurring inside of <p>, which might be under <div2>, <div3>...<div7>.
<p><xsl:apply-templates/><xsl:text> </xsl:text></p> </xsl:for-each> </body> </html> </xsl:template> </xsl:stylesheet> Otherwise it looks fine (as far as I can tell without knowing the input format), you will need to explain what "no success" really means, if you get an error, no output at all, the wrong sort order. You might want to show a small snippet of input with any namespaces declarations included, the output you want and then one you get if you still have problems.
|
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
|