I'm trying to validate cross-references using xpath in my css. My XML can have <xref target="foo">, which refers to a <reference anchor="foo">. I'm trying to find this node with //*...@anchor=./@target], in an xpath() function in an xref:after style, but it's not working. I can't figure out what to use to refer to the xref node's @target inside the search. (If I hardcode //*...@anchor='foo'] it works.)
Thanks for any help, Bill

