hopefully fixed the sorting problem with child nodes having propertyname attributes
This commit is contained in:
parent
12dc7af723
commit
1854389d32
1 changed files with 1 additions and 5 deletions
|
@ -78,11 +78,7 @@
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
<xsl:for-each select="/xmlroot/hopobject/*">
|
<xsl:for-each select="/xmlroot/hopobject/*">
|
||||||
<!-- FIXME: sorting doesn't work completely. What we ought to do
|
<xsl:sort select="normalize-space(concat(@propertyname, ' ' , name()))"/>
|
||||||
is sort by (@propertyname OR name()). Don't know how to
|
|
||||||
express that in XPath. -->
|
|
||||||
<xsl:sort select="@propertyname"/>
|
|
||||||
<xsl:sort select="name()"/>
|
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="name() = 'hop:parent'"/>
|
<xsl:when test="name() = 'hop:parent'"/>
|
||||||
<xsl:when test="name() = 'hop:child'"/>
|
<xsl:when test="name() = 'hop:child'"/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue