ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FreeBSDAdmin/VPN/links.xsl
Revision: 824
Committed: 2006-07-04T17:21:43-07:00 (19 years ago) by douglas
Content type: text/xml
File size: 474 byte(s)
Log Message:
Rearrange...

File Contents

# User Rev Content
1 douglas 773 <?xml version="1.0"?>
2     <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3    
4     <xsl:output method="text"/>
5    
6     <xsl:template match="mpd"># mpd.links
7     <xsl:apply-templates select="pptp"/>
8     </xsl:template>
9    
10     <xsl:template match="pptp"><xsl:text>
11     </xsl:text>pptp<xsl:value-of select="position() - 1"/>:
12     set link type pptp
13     set pptp self <xsl:value-of select="local"/>
14     set pptp disable originate
15     set pptp enable incoming
16     </xsl:template>
17    
18     </xsl:stylesheet>