1<!-- 2* © 2017 and later: Unicode, Inc. and others. 3* License & terms of use: http://www.unicode.org/copyright.html 4--> 5<!-- 6/* 7******************************************************************************* 8* Copyright (C) 2009-2010, International Business Machines Corporation and * 9* others. All Rights Reserved. * 10******************************************************************************* 11* This is an XSLT build file for ICU tools. 12*/ 13--> 14<!-- 15 List all C functions generated from the 'index.xml' 16--> 17<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 18 <xsl:param name="docFolder" /> 19 20 <xsl:template match="/"> 21 <list> 22 <xsl:variable name="files_node" select="/doxygenindex/compound[@kind='file']/@refid" /> 23 <xsl:for-each select="$files_node"> 24 <xsl:variable name="file" select="concat($docFolder, '/', . , '.xml')" /> 25 <xsl:variable name="funcs_node" select="document($file)/doxygen/compounddef/sectiondef/memberdef[@prot='public'][@kind='function']" /> 26 <xsl:for-each select="$funcs_node"> 27 <cppfunc> 28 <xsl:copy-of select="@id" /> 29 <xsl:attribute name="status"><xsl:value-of select="detaileddescription/para/xrefsect/xreftitle/text()"/></xsl:attribute> 30 <xsl:attribute name="version"><xsl:value-of select="detaileddescription/para/xrefsect/xrefdescription/para/text()"/></xsl:attribute> 31 <xsl:attribute name="prototype"><xsl:value-of select="concat(definition/text(), argsstring/text())" /></xsl:attribute> 32 <xsl:copy-of select="location/@file" /> 33 </cppfunc> 34 </xsl:for-each> 35 </xsl:for-each> 36 </list> 37 </xsl:template> 38</xsl:stylesheet> 39 40 41