2.f) While the sections in the profile seem to be sorted alphabetically by yast,
The original author of the merge.xml has written for us some xslt files. Sort XML file $ xsltproc --output node.xml.sorted sort.xslt node.xml Make XML file more human readable $ xsltproc --output node.xml.pretty pretty.xslt node.xml We needed these xslt file to be able todo a merge independent from autoyast. Note: Maybe the CDATA section gets lost .... $ cat sort.xslt <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:param name="order" /> <xsl:output indent="yes" /> <xsl:template match="/*"> <xsl:copy> <xsl:copy-of select="@*" /> <xsl:for-each select="*"> <xsl:sort select="string-length(substring-before($order, name()))" /> <xsl:sort select="name()" /> <xsl:copy-of select="." /> </xsl:for-each> </xsl:copy> </xsl:template> </xsl:stylesheet> $ cat pretty.xslt <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:strip-space elements="*" /> <xsl:output indent="yes" /> <xsl:template match="node()"> <xsl:copy> <xsl:copy-of select="@*" /> <xsl:apply-templates /> </xsl:copy> </xsl:template> </xsl:stylesheet> Hth Hajo