Improve web page build process
[pipeglade.git] / www-template / a-hrefs.xsl
blob4c23f543ee77b786dff2e6dd4dc93db50876c2c9
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4 <!-- Extract a list of newline-separated link targets from html -->
5 <xsl:output method="text"/>
8 <xsl:template match="a[@href]">
9 <xsl:text>&#xA;</xsl:text>
10 <xsl:value-of select='@href'/>
11 </xsl:template>
13 <xsl:template match="script|noscript"/>
15 <xsl:template match="@*|node()">
16 <xsl:apply-templates/>
17 </xsl:template>
19 </xsl:stylesheet>