| <?xml version="1.0"?> |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:my="http://maven.apache.org/POM/4.0.0" exclude-result-prefixes="my xs" version="1.0"> |
| <!--xsl:output omit-xml-declaration="yes" indent="yes"/> |
| <xsl:output indent="yes"/> |
| <xsl:strip-space elements="*"/--> |
| <xsl:output method="xml" encoding="UTF-8"/> |
| <xsl:template match="bug[1]"> |
| <xsl:for-each select="//bug"> |
| <xsl:sort select="target_milestone"/> |
| <xsl:sort select="assigned_to"/> |
| <xsl:sort select="resolution"/> |
| <xsl:sort select="bug_id"/> |
| <xsl:copy-of select="."/> |
| </xsl:for-each> |
| </xsl:template> |
| <xsl:template match="bug"/> |
| <xsl:template match="long_desc"/> |
| <xsl:template match="@*|node()"> |
| <xsl:copy> |
| <xsl:apply-templates select="@*|node()"/> |
| </xsl:copy> |
| </xsl:template> |
| <!--xsl:template match="node()|@*"> |
| <xsl:copy> |
| <xsl:apply-templates select="node()|@*"> |
| <xsl:sort select="name()" /> |
| <xsl:sort select="@*" /> |
| </xsl:apply-templates> |
| </xsl:copy> |
| </xsl:template--> |
| </xsl:stylesheet> |
| |