source: trunk/libs/newlib/src/newlib/refcontainers.xslt @ 543

Last change on this file since 543 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 703 bytes
Line 
1<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
2 <!-- trivial XSLT which removes the refentrycontainer layer -->
3 <xsl:output method="xml" encoding="UTF-8" indent="yes" doctype-public="-//OASIS//DTD DocBook V4.5//EN" doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" />
4 <xsl:strip-space elements="*"/>
5
6 <!-- Whenever you match any node but refentrycontainer or any attribute -->
7 <xsl:template match="node()[not(self::refentrycontainer)]|@*">
8 <!-- Copy the current node -->
9  <xsl:copy>
10    <!-- Including any attributes it has and any child nodes -->
11   <xsl:apply-templates select="node()|@*"/>
12  </xsl:copy>
13 </xsl:template>
14</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.