home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 February / CMCD0205.ISO / Software / Freeware / Programare / Sharp / SharpDevelop_1.0.3.1761_Setup.exe / property.xslt < prev    next >
Extensible Markup Language  |  2004-07-05  |  2KB  |  66 lines

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3. <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
  4. <xsl:include href="common.xslt"/>
  5.  
  6. <xsl:param name='id'/>
  7. <xsl:template match="/">
  8.       <xsl:apply-templates select="DOC.NET/assembly/module/namespace/*/property[@id=$id]"/>
  9. </xsl:template>
  10.  
  11. <xsl:template match="property">
  12.     <xsl:variable name="type">
  13.         <xsl:choose>
  14.             <xsl:when test="local-name(..)='interface'">Interface</xsl:when>
  15.             <xsl:otherwise>Class</xsl:otherwise>
  16.         </xsl:choose>
  17.     </xsl:variable>
  18.     <xsl:variable name="propertyName" select="@name"/>
  19.  
  20. <html dir="LTR">
  21. <head>
  22. <title>
  23.     <xsl:value-of select="../@name"/>.<xsl:value-of select="@name"/> Property
  24. </title>
  25. </head>
  26.  
  27. <link rel="stylesheet" type="text/css" href="MsdnHelp.css"/>
  28.  
  29. <body>
  30. <h1><xsl:value-of select="../@name"/>.<xsl:value-of select="@name"/> Property</h1>
  31.  
  32. <xsl:call-template name="summary-section"/>
  33. <pre class="syntax">
  34.     <xsl:call-template name="property-syntax"/>
  35. </pre>
  36. <p/>
  37. <xsl:call-template name="parameter-section"/>
  38. <xsl:call-template name="value-section"/>
  39. <xsl:call-template name="remarks-section"/>
  40. <xsl:call-template name="exceptions-section"/>
  41. <xsl:call-template name="example-section"/>
  42. <xsl:call-template name="seealso-section">
  43.     <xsl:with-param name="page">property</xsl:with-param>
  44. </xsl:call-template>
  45.  
  46. <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="viewastext">
  47.     <xsl:element name="param">
  48.         <xsl:attribute name="name">Keyword</xsl:attribute>
  49.         <xsl:attribute name="value"><xsl:value-of select='@name'/> property</xsl:attribute>
  50.     </xsl:element>
  51.     <xsl:element name="param">
  52.         <xsl:attribute name="name">Keyword</xsl:attribute>
  53.         <xsl:attribute name="value"><xsl:value-of select='@name'/> property, <xsl:value-of select='../@name'/> class</xsl:attribute>
  54.     </xsl:element>
  55.     <xsl:element name="param">
  56.         <xsl:attribute name="name">Keyword</xsl:attribute>
  57.         <xsl:attribute name="value"><xsl:value-of select='../@name'/>.<xsl:value-of select='@name'/> property</xsl:attribute>
  58.     </xsl:element>
  59. </object>
  60.  
  61. </body>
  62. </html>
  63.  
  64. </xsl:template>
  65. </xsl:stylesheet>
  66.