1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0">
4 <xsl:output method="xml" indent="yes" version="1.0"/>
6 <xsl:template match="node()">
7 <xsl:element name="toto">
8 <xsl:attribute name="n">
9 <xsl:value-of select="name()"/>
11 <xsl:apply-templates/>
16 <xsl:template match="text()"/>
17 <xsl:template match="comment()"/>
18 <xsl:template match="processing-instruction()"/>