Hi,
I'm using saxon 9.0.0.6J from a Cygwin bash shell on WinXP. I have Oxygen XML v.11, so I have saxon EE in there, but I don't think I can access it from a command line, so for now, I'll be using saxon 9
Here's my problem:
I have a structure where a particular element has 3 attributes
something like:
PHP Code:
<root>
<elem1>
<elem2 attr1="val1" attr2="val2" attr3="val3">
<elem3/>
</elem2>
</elem1>
<elem1>
<elem2 attr1="val1" attr2="val2" attr3="val3">
<elem3/>
</elem2>
</elem1>
<elem1>
<elem2 attr1="val1" attr2="val2" attr3="val3">
<elem3/>
</elem2>
</elem1>
...
</root>
and so on..
what I want to do is be sure there is only one unique combination of values for attr1, attr2 and attr3 across all the possible elem2s in the structure.
It looks like a job for groups, but I don't see how to create the select statement to gather the items I'm looking for.
Thanks,
- m