|
|
@@ -0,0 +1,19 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
|
+ exclude-result-prefixes="xs"
|
|
|
+ version="2.0">
|
|
|
+
|
|
|
+ <xsl:output indent="yes" />
|
|
|
+ <xsl:strip-space elements="*"/>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:template match="*">
|
|
|
+ <xsl:element name="{name()}">
|
|
|
+ <xsl:copy-of select="@*"/>
|
|
|
+ <xsl:attribute name="xml_id" select="generate-id()"/>
|
|
|
+ <xsl:apply-templates/>
|
|
|
+ </xsl:element>
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+</xsl:stylesheet>
|