| 1 | <?xml version="1.0" encoding="UTF-8"?>
|
|---|
| 2 | <xsl:stylesheet
|
|---|
| 3 | version="1.0"
|
|---|
| 4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|---|
| 5 | >
|
|---|
| 6 |
|
|---|
| 7 | <xsl:template match="/*/*[@action='modify' or @action='delete']">
|
|---|
| 8 | <xsl:copy>
|
|---|
| 9 | <xsl:attribute name="user">dummy</xsl:attribute>
|
|---|
| 10 | <xsl:attribute name="uid">-1</xsl:attribute>
|
|---|
| 11 | <xsl:attribute name="changeset">1</xsl:attribute>
|
|---|
| 12 | <xsl:apply-templates select="node()|@*"/>
|
|---|
| 13 | </xsl:copy>
|
|---|
| 14 | </xsl:template>
|
|---|
| 15 |
|
|---|
| 16 | <xsl:template match="node()|@*">
|
|---|
| 17 | <xsl:copy><xsl:apply-templates select="node()|@*"/></xsl:copy>
|
|---|
| 18 | </xsl:template>
|
|---|
| 19 |
|
|---|
| 20 | </xsl:stylesheet>
|
|---|