Hi Martin,
I am using Arbortext styler.
My Output is PDF.
Let me explain -
1] Structure is like the xml which i shown.
2] For pdf output there is a XSl:fo, present in Arbortext styler format.
3] The new requirement is that if <note> element is having some attribute value then it should be print for teacher not student. If that attribute is not present then it will print for both output.
4] For this i created a match that, if <note> element is having attribute and ancestor::body is having "student" then don't print
5] But there is a match for <group> element which combines all child and dispaly as table in output PDF.
6] In <group> match inside 1 <td> there is child::* is mentioned.
7] Because of this, though i am giving separate match for <note> doesn't work.
8] To solve this i should know how can i reach up to particular node while there is mention [child::*]
9] I tried as below in <group> element match but it doesn't work
A] child::*[not(note[@attribute='internal' and parent::step]) or not(note[@attribute='internal' and parent::group])]
10] This is the theory of my problem.
Please advice.
Mahesh