[Schematron] Rule context expression doubt
Florent Georges
lists at fgeorges.org
Fri Jan 2 10:55:12 EST 2009
Luis Costa wrote:
> <rule context="DVD/ Identifier/ key[@value=2]/../ Director ">
> "error in expression" when using "/../" in context expression,
Besides the other answers you got, you can just avoid the need for ..
by "not going down" the XML structure in the first place:
<rule context="DVD[Identifier/key/@value = 2]/Director">
BTW your example was not correct, you needed ../.. instead of ...
Just out of interest, which QBL do you use, and what processor?
Regards,
--
Florent Georges
http://www.fgeorges.org/
More information about the Schematron
mailing list