Hi Gertone,
The solution worked, gr8.., but I still need to understand 2 more things
a) The @Node_Id was not ordered incidentally, I made sure of that and the sort works for @Node_Id
b) Why do you say that it is ordered one element deep? I am naive to this, so please explain how. I thought since we are matching subCompetency node, the DataField/@Table_Id falls directly underneath subCompetency Node and it should work fine. Anyway, the @Table_Id is an attribute of DataField, so what's wrong with mentioning DataField/@Table_Id? I know it does not work like that, but please explain how/why.
Thanks.
Main Topics
Browse All Topics





by: GertonePosted on 2009-07-05 at 04:35:14ID: 24779667
I think that it should not work with @Node_Id either d"
You are nesting one element too deep
<xsl:sort select="DataField/@Table_I
should be
<xsl:sort select="@Table_Id"
I think that nodes are incidently preorderd on Node_Id, because it should not have worked
There are some issues with ambiguous templates for @*,
I rearranged you stylesheet a bit, see below
Select allOpen in new window