P
parksch2
Quick question:
How would I nest the apply templates on the following XML structure?
/ITEM/CHILD/ITEM/CHILD/ITEM/CHILD
I would first like to apply templates on /ITEM/CHILD. Within that
template, I would like to apply a template on ITEM/CHILD (the children
of the first ITEM/CHILD). Then within the second level template, I
would again like to apply a template on its children (the grandchildren
of the first ITEM/CHILD). The problem is that the output differs in
each template, but the names are the same so my match statements are
the same. I'm sure there is an easy way to do this but I can't seem to
find it. Any ideas? Thanks in advance!
How would I nest the apply templates on the following XML structure?
/ITEM/CHILD/ITEM/CHILD/ITEM/CHILD
I would first like to apply templates on /ITEM/CHILD. Within that
template, I would like to apply a template on ITEM/CHILD (the children
of the first ITEM/CHILD). Then within the second level template, I
would again like to apply a template on its children (the grandchildren
of the first ITEM/CHILD). The problem is that the output differs in
each template, but the names are the same so my match statements are
the same. I'm sure there is an easy way to do this but I can't seem to
find it. Any ideas? Thanks in advance!