Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: c53a991e6f
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.794 kB
<!-- This stylesheet is a one-off script for generating the
temporary config files for mapping function names
(in search results) to the old URL in the API reference
before docs.marklogic.com is completed. -->
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xpath-default-namespace="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="xs">
<xsl:output indent="yes"/>
<xsl:template match="/">
<function-urls>
<xsl:apply-templates select="//table[@class eq 'table-line']/tr[@class eq 'mainbody']/td[1]"/>
</function-urls>
</xsl:template>
<xsl:template match="td">
<function name="{normalize-space(.//a/b)}" url="{.//a/@href}"/>
</xsl:template>
</xsl:stylesheet>
Jump to Line
Something went wrong with that request. Please try again.