XSL Grouping and Filtering
I am currently using xsl keys in my xsl document, to group child nodes
under
parent nodes. This is being run against an ADO recordset so my key looks
something like this :
<xsl:key name="rows-by-parent" match="z:row" use="@Parent_ID" />
My hierarchy can go several levels deep (about 10 levels are currently
supported). If any one of the children (n levels deep) of a level 1
parent
node(@Parent_ID = 0), has a variable @Exclude_YN = 'P' or Exclude_YN = 'C',
then I wish to display a text message next to that Parent Node, in my HTML
document.
I don't know how to apply the filter to child nodes n levels deep in the
hierarchy using an xsl:key. I am using keys to group currently.
thanx.
mike
|