home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 April
/
CMCD0404.ISO
/
Software
/
Freeware
/
Programare
/
Sharpdev
/
099bsetup.exe
/
property.xslt
< prev
next >
Wrap
Extensible Markup Language
|
2003-08-28
|
2KB
|
66 lines
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:include href="common.xslt"/>
<xsl:param name='id'/>
<xsl:template match="/">
<xsl:apply-templates select="DOC.NET/assembly/module/namespace/*/property[@id=$id]"/>
</xsl:template>
<xsl:template match="property">
<xsl:variable name="type">
<xsl:choose>
<xsl:when test="local-name(..)='interface'">Interface</xsl:when>
<xsl:otherwise>Class</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="propertyName" select="@name"/>
<html dir="LTR">
<head>
<title>
<xsl:value-of select="../@name"/>.<xsl:value-of select="@name"/> Property
</title>
</head>
<link rel="stylesheet" type="text/css" href="MsdnHelp.css"/>
<body>
<h1><xsl:value-of select="../@name"/>.<xsl:value-of select="@name"/> Property</h1>
<xsl:call-template name="summary-section"/>
<pre class="syntax">
<xsl:call-template name="property-syntax"/>
</pre>
<p/>
<xsl:call-template name="parameter-section"/>
<xsl:call-template name="value-section"/>
<xsl:call-template name="remarks-section"/>
<xsl:call-template name="exceptions-section"/>
<xsl:call-template name="example-section"/>
<xsl:call-template name="seealso-section">
<xsl:with-param name="page">property</xsl:with-param>
</xsl:call-template>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="viewastext">
<xsl:element name="param">
<xsl:attribute name="name">Keyword</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select='@name'/> property</xsl:attribute>
</xsl:element>
<xsl:element name="param">
<xsl:attribute name="name">Keyword</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select='@name'/> property, <xsl:value-of select='../@name'/> class</xsl:attribute>
</xsl:element>
<xsl:element name="param">
<xsl:attribute name="name">Keyword</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select='../@name'/>.<xsl:value-of select='@name'/> property</xsl:attribute>
</xsl:element>
</object>
</body>
</html>
</xsl:template>
</xsl:stylesheet>