15828ea19c
properly render html anchors out of xml files.
81 lines
3.3 KiB
XML
81 lines
3.3 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!-- Copyright (c) 2004 Josef El-Rayes <josef@FreeBSD.org>
|
|
All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions
|
|
are met:
|
|
1. Redistributions of source code must retain the above copyright
|
|
notice, this list of conditions and the following disclaimer.
|
|
2. Redistributions in binary form must reproduce the above copyright
|
|
notice, this list of conditions and the following disclaimer in the
|
|
documentation and/or other materials provided with the distribution.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
SUCH DAMAGE.
|
|
|
|
$FreeBSD: www/en/commercial/entries.xsl,v 1.3 2004/07/18 22:23:07 josef Exp $
|
|
-->
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
|
xmlns:cvs="http://www.FreeBSD.org/XML/CVS"
|
|
exclude-result-prefixes="cvs">
|
|
|
|
<xsl:import href="../includes.xsl"/>
|
|
|
|
<xsl:variable name="base" select="'..'"/>
|
|
<xsl:variable name="date">
|
|
<xsl:value-of select="//cvs:keyword[@name='freebsd']"/>
|
|
</xsl:variable>
|
|
<xsl:variable name="email" select="'freebsd-www'"/>
|
|
<xsl:variable name="title" select="'Commercial Vendors'"/>
|
|
<xsl:param name="pagename" select="''"/>
|
|
|
|
<xsl:output method="xml" encoding="iso-8859-1"
|
|
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
|
|
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>
|
|
|
|
<xsl:template match="entries">
|
|
<html>
|
|
<xsl:copy-of select="$header1"/>
|
|
|
|
<body xsl:use-attribute-sets="att.body">
|
|
<xsl:copy-of select="$header2"/>
|
|
|
|
<p>The power, flexibility, and reliability of FreeBSD attract
|
|
a wide variety of users and vendors. Here you will find
|
|
vendors offering commercial products and/or services for
|
|
FreeBSD.</p>
|
|
|
|
<p>For your convenience, we have divided our growing
|
|
commercial listing into several sections. If your company
|
|
supports a FreeBSD-compatible product or service that should
|
|
be added to this page, please fill out a <a
|
|
href="http://www.freebsd.org/send-pr.html">problem report</a>
|
|
for category www. Submissions should be in HTML and a medium-sized
|
|
paragraph in length.</p>
|
|
|
|
<h2><xsl:value-of select="$pagename"/></h2>
|
|
|
|
<xsl:for-each select="entry">
|
|
<xsl:sort select="name" order="ascending"/>
|
|
<a name="{@id}" href="{url}">
|
|
<xsl:value-of select="name"/>
|
|
</a><br/>
|
|
<xsl:copy-of select="description/child::node()"/><br/><br/>
|
|
</xsl:for-each>
|
|
<xsl:copy-of select="$footer"/>
|
|
</body>
|
|
</html>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|