Help for this page

Select Code to Download


  1. or download this
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Tr
    +ansform">
    ...
    <xsl:value-of select="bar"/>
    </xsl:element>
    </xsl:stylesheet>
    
  2. or download this
    use strict;
    use warnings;
    ...
    my @attributes = $element_node -> attributes();
    $element_node -> setNodeName($attributes[0]);
    }