mac7attack
Technical User
Hello all,
Is there any way to test to see if the current child tag is the same as the child tag in the parent before or after the child?
So using the above xml file and a xslt file, is there a way when processing the second question to test if category tag is the tag as the one above it? I know there should be a position test first to process the first tag differently.
The test should be positive at the second tag and negative on the third.
Thanks in advanced,
Matt
Is there any way to test to see if the current child tag is the same as the child tag in the parent before or after the child?
Code:
<Questions>
<question>
<category>Outlook</category>
<ask>Some Question</ask>
</question>
<question>
<category>Outlook</category>
<ask>Another Question</ask>
</question>
<question>
<category>Explorer</category>
<ask>LastQuestion</ask>
</question>
</Question>
So using the above xml file and a xslt file, is there a way when processing the second question to test if category tag is the tag as the one above it? I know there should be a position test first to process the first tag differently.
The test should be positive at the second tag and negative on the third.
Thanks in advanced,
Matt