From: Gert D. <dri...@us...> - 2004-07-03 14:46:32
|
Update of /cvsroot/nant/nant/src/NDoc.Documenter.NAnt/Resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21572 Modified Files: task-index.xslt type-index.xslt Log Message: use xslt function in extension object to determine if a given cref points to a task or data type Index: task-index.xslt =================================================================== RCS file: /cvsroot/nant/nant/src/NDoc.Documenter.NAnt/Resources/task-index.xslt,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** task-index.xslt 28 Jun 2004 05:14:14 -0000 1.19 --- task-index.xslt 3 Jul 2004 14:46:23 -0000 1.20 *************** *** 87,92 **** <!-- match class tag --> <xsl:template match="class"> ! <xsl:variable name="attr" select="attribute[@name = 'NAnt.Core.Attributes.TaskNameAttribute']/@name" /> ! <xsl:if test="string-length(string($attr)) != 0 and starts-with(substring(@id, 3, string-length(@id) - 2), NAntUtil:GetNamespaceFilter())"> <xsl:variable name="ObsoleteAttribute" select="attribute[@name = 'System.ObsoleteAttribute']" /> <xsl:choose> --- 87,91 ---- <!-- match class tag --> <xsl:template match="class"> ! <xsl:if test="starts-with(substring(@id, 3, string-length(@id) - 2), NAntUtil:GetNamespaceFilter()) and NAntUtil:IsTask(@id)"> <xsl:variable name="ObsoleteAttribute" select="attribute[@name = 'System.ObsoleteAttribute']" /> <xsl:choose> Index: type-index.xslt =================================================================== RCS file: /cvsroot/nant/nant/src/NDoc.Documenter.NAnt/Resources/type-index.xslt,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** type-index.xslt 28 Jun 2004 05:14:14 -0000 1.13 --- type-index.xslt 3 Jul 2004 14:46:23 -0000 1.14 *************** *** 77,81 **** <xsl:template match="class"> <!-- ensure type should actually be documented --> ! <xsl:if test="starts-with(substring(@id, 3, string-length(@id) - 2), NAntUtil:GetNamespaceFilter())"> <xsl:variable name="ObsoleteAttribute" select="attribute[@name='System.ObsoleteAttribute']" /> <xsl:choose> --- 77,81 ---- <xsl:template match="class"> <!-- ensure type should actually be documented --> ! <xsl:if test="starts-with(substring(@id, 3, string-length(@id) - 2), NAntUtil:GetNamespaceFilter()) and NAntUtil:IsDataType(@id)"> <xsl:variable name="ObsoleteAttribute" select="attribute[@name='System.ObsoleteAttribute']" /> <xsl:choose> |