mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 11:49:01 +00:00
If you have trouble updating after this revision you need to follow these instructions. You have probably just seen an error like this: svn: URL 'svn://svn.insecure.org/nping' of existing directory 'nping' does not match expected URL 'svn://svn.insecure.org/nmap/nping' This is caused by the replacement of SVN externals. Here's what you need to do. First, save any local changes you might have in the nping, nsock, nbase, ncat, and zenmap directories. (For example by running "cd nping; svn diff > ../nping.diff".) If you don't have any local changes you can skip this step. Then run these commands: rm -rf nping/ nsock/ nbase/ ncat/ zenmap/ svn update svn cleanup If all else fails, you can just delete your whole working directory and check out anew: svn co --username guest --password "" svn://svn.insecure.org/nmap There may be further discussion in the mailing list thread at http://seclists.org/nmap-dev/2011/q4/303.
156 lines
6.1 KiB
XML
156 lines
6.1 KiB
XML
<?xml version='1.0'?>
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
|
|
exclude-result-prefixes="doc"
|
|
version='1.0'>
|
|
|
|
<!-- ********************************************************************
|
|
$Id: subtitles.xsl 6910 2007-06-28 23:23:30Z xmldoc $
|
|
********************************************************************
|
|
|
|
This file is part of the XSL DocBook Stylesheet distribution.
|
|
See ../README or http://docbook.sf.net/release/xsl/current/ for
|
|
copyright and other information.
|
|
|
|
******************************************************************** -->
|
|
|
|
<!-- ==================================================================== -->
|
|
|
|
<!-- subtitle markup -->
|
|
|
|
<doc:mode mode="subtitle.markup" xmlns="">
|
|
<refpurpose>Provides access to element subtitles</refpurpose>
|
|
<refdescription id="subtitle.markup-desc">
|
|
<para>Processing an element in the
|
|
<literal role="mode">subtitle.markup</literal> mode produces the
|
|
subtitle of the element.
|
|
</para>
|
|
</refdescription>
|
|
</doc:mode>
|
|
|
|
<xsl:template match="*" mode="subtitle.markup">
|
|
<xsl:message>
|
|
<xsl:text>Request for subtitle of unexpected element: </xsl:text>
|
|
<xsl:value-of select="local-name(.)"/>
|
|
</xsl:message>
|
|
<xsl:text>???SUBTITLE???</xsl:text>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="subtitle" mode="subtitle.markup">
|
|
<xsl:param name="allow-anchors" select="'0'"/>
|
|
<xsl:apply-templates/>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="set" mode="subtitle.markup">
|
|
<xsl:param name="allow-anchors" select="'0'"/>
|
|
<xsl:apply-templates select="(setinfo/subtitle|info/subtitle|subtitle)[1]"
|
|
mode="subtitle.markup">
|
|
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
|
|
</xsl:apply-templates>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="book" mode="subtitle.markup">
|
|
<xsl:param name="allow-anchors" select="'0'"/>
|
|
<xsl:apply-templates select="(bookinfo/subtitle|info/subtitle|subtitle)[1]"
|
|
mode="subtitle.markup">
|
|
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
|
|
</xsl:apply-templates>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="part" mode="subtitle.markup">
|
|
<xsl:param name="allow-anchors" select="'0'"/>
|
|
<xsl:apply-templates select="(partinfo/subtitle
|
|
|docinfo/subtitle
|
|
|info/subtitle
|
|
|subtitle)[1]"
|
|
mode="subtitle.markup">
|
|
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
|
|
</xsl:apply-templates>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="preface|chapter|appendix" mode="subtitle.markup">
|
|
<xsl:param name="allow-anchors" select="'0'"/>
|
|
<xsl:apply-templates select="(docinfo/subtitle
|
|
|info/subtitle
|
|
|prefaceinfo/subtitle
|
|
|chapterinfo/subtitle
|
|
|appendixinfo/subtitle
|
|
|subtitle)[1]"
|
|
mode="subtitle.markup">
|
|
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
|
|
</xsl:apply-templates>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="article" mode="subtitle.markup">
|
|
<xsl:param name="allow-anchors" select="'0'"/>
|
|
<xsl:apply-templates select="(artheader/subtitle
|
|
|articleinfo/subtitle
|
|
|info/subtitle
|
|
|subtitle)[1]"
|
|
mode="subtitle.markup">
|
|
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
|
|
</xsl:apply-templates>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="dedication|colophon" mode="subtitle.markup">
|
|
<xsl:param name="allow-anchors" select="'0'"/>
|
|
<xsl:apply-templates select="(subtitle|info/subtitle)[1]"
|
|
mode="subtitle.markup">
|
|
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
|
|
</xsl:apply-templates>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="reference" mode="subtitle.markup">
|
|
<xsl:param name="allow-anchors" select="'0'"/>
|
|
<xsl:apply-templates select="(referenceinfo/subtitle
|
|
|docinfo/subtitle
|
|
|info/subtitle
|
|
|subtitle)[1]"
|
|
mode="subtitle.markup">
|
|
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
|
|
</xsl:apply-templates>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="qandaset" mode="subtitle.markup">
|
|
<xsl:param name="allow-anchors" select="'0'"/>
|
|
<xsl:apply-templates select="(blockinfo/subtitle|info/subtitle)[1]"
|
|
mode="subtitle.markup">
|
|
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
|
|
</xsl:apply-templates>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="refentry" mode="subtitle.markup">
|
|
<xsl:param name="allow-anchors" select="'0'"/>
|
|
<xsl:apply-templates select="(refentryinfo/subtitle
|
|
|info/subtitle
|
|
|docinfo/subtitle)[1]"
|
|
mode="subtitle.markup">
|
|
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
|
|
</xsl:apply-templates>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="section
|
|
|sect1|sect2|sect3|sect4|sect5
|
|
|refsect1|refsect2|refsect3
|
|
|simplesect"
|
|
mode="subtitle.markup">
|
|
<xsl:param name="allow-anchors" select="'0'"/>
|
|
<xsl:apply-templates select="(info/subtitle
|
|
|sectioninfo/subtitle
|
|
|sect1info/subtitle
|
|
|sect2info/subtitle
|
|
|sect3info/subtitle
|
|
|sect4info/subtitle
|
|
|sect5info/subtitle
|
|
|refsect1info/subtitle
|
|
|refsect2info/subtitle
|
|
|refsect3info/subtitle
|
|
|subtitle)[1]"
|
|
mode="subtitle.markup">
|
|
<xsl:with-param name="allow-anchors" select="$allow-anchors"/>
|
|
</xsl:apply-templates>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|
|
|