func_pjsip_endpoint: Add PJSIP_ENDPOINT function for querying endpoint details
[asterisk/asterisk.git] / doc / appdocsxml.xslt
similarity index 90%
rename from doc/snapshots.xslt
rename to doc/appdocsxml.xslt
index 17114cb..33ff733 100644 (file)
@@ -1,4 +1,4 @@
-<xsl:stylesheet version="1.0" 
+<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:output omit-xml-declaration="yes" indent="yes"/>
 
         </xsl:copy>
     </xsl:template>
 
+    <xsl:template match="configOptionToEnum">
+        <xsl:for-each select="configOption">
+            <xsl:element name="enum">
+                <xsl:attribute name="name">
+                    <xsl:value-of select="@name"/>
+                </xsl:attribute>
+                <xsl:element name="para">
+                    <xsl:value-of select="synopsis"/>
+                </xsl:element>
+            </xsl:element>
+        </xsl:for-each>
+    </xsl:template>
+
     <xsl:template match="channel_snapshot">
         <xsl:element name="parameter">
             <xsl:attribute name="name">